Skip to content

Doc updates and a bug fix for defaultValue in Introspection#91

Merged
wravery merged 2 commits intomicrosoft:masterfrom
wravery:master
Mar 10, 2020
Merged

Doc updates and a bug fix for defaultValue in Introspection#91
wravery merged 2 commits intomicrosoft:masterfrom
wravery:master

Conversation

@wravery
Copy link
Copy Markdown
Contributor

@wravery wravery commented Mar 10, 2020

  • Some of the docs are out of date with v3.1.0.
  • The defaultValue property in Introspection should be a GraphQL input value encoded as a string. It was decoding GraphQL strings and putting the encoded string in there as part of SchemaGenerator. It worked OK until I tested it with GraphiQL. It was trying to parse that value as a string for the @deprecated(reason: String = "No longer supported") argument default value.

@wravery wravery merged commit b560cba into microsoft:master Mar 10, 2020
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 this pull request may close these issues.

1 participant