Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples from graphql-scalar have wrong behaviour #265

Closed
KeGaWeb opened this issue Apr 4, 2022 · 1 comment · Fixed by #269
Closed

Examples from graphql-scalar have wrong behaviour #265

KeGaWeb opened this issue Apr 4, 2022 · 1 comment · Fixed by #269

Comments

@KeGaWeb
Copy link

KeGaWeb commented Apr 4, 2022

Hi there !

I just updated to last version (1.0.5), and now I'm facing issues with scalar examples.
Examples are shown as Array, meaning with a String scalar it shows: ["abc123", "xyz789"].
I expected it to work just as examples in the metadata files : one random value being used during generation.

NB: this doesn't occur when graphqlScalarExamples: false.

@KeGaWeb KeGaWeb changed the title Examples from graphql-scalar Examples from graphql-scalar have wrong behaviour Apr 4, 2022
@newhouse newhouse mentioned this issue Apr 4, 2022
@newhouse
Copy link
Collaborator

newhouse commented Apr 4, 2022

Should be fixed in 1.0.6...sorry/thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants