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
Running "introspection" against the server would then return a JSON (in unknown format) with list of public mutations/queries and types
Introspection method
Backend class could have introspection() method returning datastruct with information about possible mutations, queries and their types. Out of the box there wouldn't be anything else going on with this structure, but it would be useful for tooling developers to write codegens or custom "API contents" page.
The text was updated successfully, but these errors were encountered:
tRPC has no schema or introspection capability, but we could let devs opt in to one.
Introspection query
Backend
class could acceptintrospection
option that if set, would add introspection query to the server, eg:Running "introspection" against the server would then return a JSON (in unknown format) with list of public mutations/queries and types
Introspection method
Backend
class could haveintrospection()
method returning datastruct with information about possible mutations, queries and their types. Out of the box there wouldn't be anything else going on with this structure, but it would be useful for tooling developers to write codegens or custom "API contents" page.The text was updated successfully, but these errors were encountered: