New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Docs] Update server preset guide to reflect changes in v0.8 #9954
Conversation
|
🚀 Snapshot Release (
|
Package | Version | Info |
---|---|---|
@graphql-codegen/visitor-plugin-common |
5.1.1-alpha-20240501114854-be2cae2a38a38384c61641094303eb8d7df5c819 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-document-nodes |
4.0.7-alpha-20240501114854-be2cae2a38a38384c61641094303eb8d7df5c819 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/gql-tag-operations |
4.0.7-alpha-20240501114854-be2cae2a38a38384c61641094303eb8d7df5c819 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-operations |
4.2.1-alpha-20240501114854-be2cae2a38a38384c61641094303eb8d7df5c819 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-resolvers |
4.0.7-alpha-20240501114854-be2cae2a38a38384c61641094303eb8d7df5c819 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typed-document-node |
5.0.7-alpha-20240501114854-be2cae2a38a38384c61641094303eb8d7df5c819 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript |
4.0.7-alpha-20240501114854-be2cae2a38a38384c61641094303eb8d7df5c819 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/client-preset |
4.2.6-alpha-20240501114854-be2cae2a38a38384c61641094303eb8d7df5c819 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/graphql-modules-preset |
4.0.7-alpha-20240501114854-be2cae2a38a38384c61641094303eb8d7df5c819 |
npm ↗︎ unpkg ↗︎ |
💻 Website PreviewThe latest changes are available as preview in: https://58ddd9d2.graphql-code-generator.pages.dev |
fullName: async (_parent, _arg, _ctx) => { | ||
/* User.fullName resolver is required because User.fullName exists but UserMapper.fullName does not */ | ||
}, | ||
|
||
isAdmin: ({ isAdmin }) => { | ||
isAdmin: ({ isAdmin }, _arg, _ctx) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need to this change? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The server preset now generates this by default, so I think matching it here helps set the user expectation 🙂
This PR updates server preset guide with changes in server preset v0.8