is there any way to modify existing object? #1225
klys-equinix
started this conversation in
General
Replies: 1 comment 1 reply
-
|
Can you share the code your using to define the fields? Is there a reason you need to define shareable separately? There are probably ways to do this, but they would likely be pretty hacky. The easiest is probably to build the schema first, then add the directives to the built schema (this isn't Pothos specific) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We generate our objects using Prisma. We then expose those objects using Pothos.
We are using Federation, and we need to add
shareable: trueto some of the fields.Is there any way to add an attribute to a field of existing object?
Beta Was this translation helpful? Give feedback.
All reactions