We use cookies and other tracking technologies to improve your browsing experience on our site, analyze site traffic, and understand where our audience is coming from. To find out more, please read our privacy policy.

By choosing 'I Accept', you consent to our use of cookies and other tracking technologies.

We use cookies and other tracking technologies to improve your browsing experience on our site, analyze site traffic, and understand where our audience is coming from. To find out more, please read our privacy policy.

By choosing 'I Accept', you consent to our use of cookies and other tracking technologies. Less

We use cookies and other tracking technologies... More

Login or register
to publish this job!

Login or register
to save this job!

Login or register
to save interesting jobs!

Login or register
to get access to all your job applications!

Login or register to start contributing with an article!

Login or register
to see more jobs from this company!

Login or register
to boost this post!

Show some love to the author of this blog by giving their post some rocket fuel 🚀.

Login or register to search for your ideal job!

Login or register to start working on this issue!

Login or register
to save articles!

Login to see the application

Engineers who find a new job through WorksHub average a 15% increase in salary 🚀

You will be redirected back to this page right after signin

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

Pull requests: 1
Contributors: 19
Level: Intermediate
  • Clojure
  • $25
Pull requests: 1
Contributors: 19
Level: Intermediate
  • Clojure
  • $25

On GitHub

spec -> lacinia schema
More info >

Issue posted by: 
acron0's avatar

Antony Woods

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
  • low priority

Use Open Source Issues to hire or get hired

On GitHub

spec -> lacinia schema
More info >

Issue posted by: 
acron0's avatar

Antony Woods

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