You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which is accepted by graphql-js and (rarely) used by customers. I don't love it, but we already accept enum values nested inside lists or objects as input for custom scalars, so it makes sense to accept this too.
The text was updated successfully, but these errors were encountered:
…m scalars, fixes#834
Validation does not currently accept something like this:
```graphql
scalar Currency
type Query {
convertToUSD(amount: Int!, currency: Currency!): Int!
}
query {
convertToUSD(amount: 100, currency: EUR)
}
```
which is accepted by graphql-js and (rarely) used by customers. I don't love it, but we already accept enum values nested inside lists or objects as input for custom scalars, so it makes sense to accept this too.
…m scalars, fixes#834 (#835)
Validation does not currently accept something like this:
```graphql
scalar Currency
type Query {
convertToUSD(amount: Int!, currency: Currency!): Int!
}
query {
convertToUSD(amount: 100, currency: EUR)
}
```
which is accepted by graphql-js and (rarely) used by customers. I don't love it, but we already accept enum values nested inside lists or objects as input for custom scalars, so it makes sense to accept this too.
Validation does not currently accept something like this:
which is accepted by graphql-js and (rarely) used by customers. I don't love it, but we already accept enum values nested inside lists or objects as input for custom scalars, so it makes sense to accept this too.
The text was updated successfully, but these errors were encountered: