github graphql-compose/graphql-compose 0.0.11
0.0.11 (July 28, 2016)

latest releases: v9.0.10, v9.0.9, v9.0.8...
7 years ago
  • Add getByPath method to TypeComposer and InputTypeComposer for obtaining deep field type.
const recordInputTC = GQC.rootMutation().getByPath('addUser.@input.record');
const languagesTC = GQC.rootQuery().getByPath('viewer.user.languages');
const languagesTC2 = GQC.get('User').getByPath('viewer.user.languages');
const languagesTC3 = new TypeComposer(UserOutputType).getByPath('viewer.user.languages');

Don't miss a new graphql-compose release

NewReleases is sending notifications on new releases.