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
Those values are hard to serialise, e.g. they don’t serialise in JSON. GraphQL aims for maximal compatibility and this excludes these kinds of things. However you could create your own custom scalar e.g. IEEE754Float which maybe encodes these special values as a string?
Is there a reason graphql floats do not support Infinity and NaN? Would a proposal to add infinity and/or NaN be seriously considered?
The text was updated successfully, but these errors were encountered: