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

Work started
Pull requests: 0
Contributors: 16
Level: Intermediate
  • Clojure
  • $50
Work started
Pull requests: 0
Contributors: 16
Level: Intermediate
  • Clojure
  • $50

On GitHub

spec -> lacinia schema
More info >

Issue posted by: 

Antony

Description

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

  • enhancement
  • help wanted

Use Open Source Issues to hire or get hired

Other Issues from this company

View all
/
/
    /
    /

      On GitHub

      spec -> lacinia schema
      More info >

      Issue posted by: 

      Antony

      Use Open Source Issues to hire or get hired

      Investigate automatic input and output schema detection in `attach-query` and `attach-mutation`
      View on GitHub