apollographql / graphql-tag

A JavaScript template literal tag that parses GraphQL queries
MIT License
2.32k stars 174 forks source link

consider supporting babel-plugin-macros #222

Open Janpot opened 5 years ago

Janpot commented 5 years ago

Issue Labels

Now that a library like create-react-app has support for babel-plugin-macros, and it's also trivial to add to next. Would it make sense for this library to create and maintain an "official macro" like graphql-tag.macro or graphql.macro?

langpavel commented 5 years ago

Only official is graphql from facebook (and they have relay compiler), not Apollo itself, so... But yes, this will be nice