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

graphql #2

Open
2 of 4 tasks
cch5ng opened this issue Jan 13, 2024 · 2 comments
Open
2 of 4 tasks

graphql #2

cch5ng opened this issue Jan 13, 2024 · 2 comments

Comments

@cch5ng
Copy link
Owner

cch5ng commented Jan 13, 2024

  • migrate over install, configuration
  • migrate over the logic (schema, resolvers) from the older repo
    (affects server/index.ts; server/schema.ts)
  • handle jobs queries (jobs list by userid and job by id) and mutations (create, edit, delete)
  • actually decide whether graphql is actually needed in this case at all (think prisma can handle making the db queries)

still need to conceptualize remix routing


resc
https://github.com/prisma/prisma-examples/tree/latest/typescript/graphql-sdl-first
https://www.apollographql.com/docs/react/get-started/

https://www.prisma.io/docs/orm/prisma-schema/data-model/multi-schema
https://www.prisma.io/docs/orm/prisma-schema/introspection

@cch5ng
Copy link
Owner Author

cch5ng commented Jan 20, 2024

X-(done): status is first blocker was fixed
right now there seems to be a bug with retrieving jobs
the existing repo logic has a relationship between user/role/target object (like note) but the job table doesn't have anything like ownerId or role associated currently so no data coming back
in the least believe these tables need contents updated:

  • Permission
  • _PermissionToRole
  • job
  • (not sure about verification or if something related to _job_user also needs to change)

@cch5ng cch5ng pinned this issue Jan 25, 2024
@cch5ng
Copy link
Owner Author

cch5ng commented Feb 2, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant