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
To be able to display SDL ergonomically, we will need to make sure all types created by GraphQLClientSchema in #171 have a self.to_string method and Display, Debug trait implementations.
Description
To be able to display SDL ergonomically, we will need to make sure all types created by
GraphQLClientSchema
in #171 have aself.to_string
method andDisplay
,Debug
trait implementations.Detailed design
GraphQL Javascript reference implementation has specific printing requirements for each individual type, here is
Scalar
type, for example:Rust implementation should then have something like this for it's
Display
trait impl:ScalarType
can then implement ato_string()
that resembles its JavaScript counterpart outlined above.This work is dependent on #171 to be completed first.
This issue is part of introspection work discussed in this internal scope document.
The text was updated successfully, but these errors were encountered: