Some recent inspiration:
apollographql/apollo-tooling#2274
(now squashed, but still relevant): 6c4261b
...and plenty of useful things in apollo-graphql and apollo-tools from the to-be-sunsetted tooling repo.
I'd love to see a generally useful utils package a la @apollo/utils which is home to useful and generic utility functions. This could be:
- all kinds of utility fns like array utils (though these can and probably should be provided by small lodash packages)
- useful generic TS types and predicates
- anything else we find ourselves copy/pasting across multiple packages that wouldn't otherwise have a reason to depend on each other.
- graphql specific utils that are still generic / useful in multiple applications
I know this has been a question in the past (mostly around what do we name it and who it should be useful for). I think a package like this should be considerate of various use cases (node, web) and should really only be home to non-application-specific utilities (though inclusive to graphql-specific utils).
Some recent inspiration:
apollographql/apollo-tooling#2274
(now squashed, but still relevant): 6c4261b
...and plenty of useful things in
apollo-graphqlandapollo-toolsfrom the to-be-sunsetted tooling repo.I'd love to see a generally useful utils package a la
@apollo/utilswhich is home to useful and generic utility functions. This could be:I know this has been a question in the past (mostly around what do we name it and who it should be useful for). I think a package like this should be considerate of various use cases (node, web) and should really only be home to non-application-specific utilities (though inclusive to graphql-specific utils).