Skip to content
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

Nexus v2 Ideas / Checklist #984

Open
8 tasks
tgriesser opened this issue Sep 6, 2021 · 1 comment
Open
8 tasks

Nexus v2 Ideas / Checklist #984

tgriesser opened this issue Sep 6, 2021 · 1 comment
Labels
type/discussion Discussion about proposals, etc.

Comments

@tgriesser
Copy link
Member

tgriesser commented Sep 6, 2021

Adding this as a running list of plans/ideas, will continue to add to it:

  • Drop official support for GraphQL 14
  • Continue to refine nexus-decorators APIs & add into core: import { nxs } from 'nexus/decorators' edit: not going to do this
  • Add additional builder api for constructing field args:
t.field('users', {
  args(a) {
    a.field('status', { type: 'Status' })
    a.list.id('ids')
  }
})
@tgriesser tgriesser added the type/discussion Discussion about proposals, etc. label Sep 6, 2021
@jcpage
Copy link

jcpage commented Nov 30, 2021

Since it seems more and more people are using subscriptions these days, enhancing the SubscriptionBuilder support (or refactoring somehow so it works the same as ObjectDefinitionBlock, etc) would be great!

I was recently trying to write a plugin to support automatically generating "graphql relay modern" style Input/Payload types for subscriptions (similar to an existing one, "nexus-plugin-relay-mutation" for mutations) and eventually realized subscriptions use a completely different builder that is not extensible with plugins. Was confused why my added dynamicOutputMethod wasn't showing up in the typeBuilder...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/discussion Discussion about proposals, etc.
Projects
None yet
Development

No branches or pull requests

2 participants