Skip to content

Investigate automatic input and output schema detection in attach-query and attach-mutation #4

Description

@acron0

It's theoretically possible to discern the schemas from the fdef (if one exists) rather than have the user supply schema.

For example, instead of (attach-query ::input ::output handler) you could just do (attach-query handler) and the function would find an fdef associated with handler, detect the :args and :ret (thanks @devurandom) and use these in place of input and output specs.

This is just sugar, really, but might help with onboarding

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions