Skip to content

Conversation

@andrisak
Copy link
Contributor

@andrisak andrisak commented Apr 9, 2020

Draft implementation of a graphql_scalar proc macro. There are many similarities with the corresponding derive macro and they can probably share a lot of the codegen implementation.

Signed-off-by: andrisak <andrisak@gmail.com>
Copy link
Member

@LegNeato LegNeato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great start, thank you so much for your hard work!

@andrisak andrisak changed the title [WIP] Make graphql_scalar a proc macro #571 [WIP] Make graphql_scalar a proc macro Apr 12, 2020
andrisak and others added 2 commits April 19, 2020 19:59
Copy link
Member

@LegNeato LegNeato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent, thank you so much! I see it still says WIP, is there more to do here or are we good to merge?

@andrisak andrisak changed the title [WIP] Make graphql_scalar a proc macro Make graphql_scalar a proc macro Apr 20, 2020
@andrisak
Copy link
Contributor Author

andrisak commented Apr 20, 2020

No, I thinks it's ready to merge now.

Fixes #571

@LegNeato LegNeato merged commit 2ba9f71 into graphql-rust:master Apr 20, 2020
@LegNeato
Copy link
Member

Thank you so much for the high-quality PR! This makes Juniper much easier to use and much more idiomatic 🍻

@andrisak andrisak deleted the graphql_scalar_proc_macro branch April 24, 2020 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants