Skip to content
Discussion options

You must be logged in to vote

Hey @b-barry — you should not directly modify the auto-generated GraphQL types, but what you're doing should be possible by adding a field to your config itself. You can then set admin.disabled: true on the field to have it hide from the admin UI entirely. And then you could fill the field's value dynamically with hooks / similar, therefore treating it as a "virtual field". We have a demo of this coming out shortly, so keep an eye out!

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@b-barry
Comment options

@jmikrut
Comment options

@b-barry
Comment options

Answer selected by zubricks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants