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

Generate Nexus object type def field configurations from Prisma model scalar fields #4

Closed
jasonkuhrt opened this issue Feb 22, 2021 · 0 comments · Fixed by #5
Closed
Assignees
Labels
type/feat Add a new capability or enhance an existing one
Milestone

Comments

@jasonkuhrt
Copy link
Contributor

jasonkuhrt commented Feb 22, 2021

Perceived Problem

  • Unable to statically import the models from Prisma Schema into code

Ideas / Proposed Solution(s)

The scope here:

  1. For each scalar field in each PS model
  2. Generate Nexus field config (name, description, type)
  3. Ignore scalar fields in PS that would require custom scalars in Nexus

Resolvers are free for scalar fields already in Nexus.

@jasonkuhrt jasonkuhrt added the type/feat Add a new capability or enhance an existing one label Feb 22, 2021
jasonkuhrt added a commit that referenced this issue Feb 24, 2021
@jasonkuhrt jasonkuhrt self-assigned this Feb 24, 2021
@martzoukos martzoukos added this to the 2.18.0 milestone Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feat Add a new capability or enhance an existing one
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants