Is it possible to add a type to the schema through a plugin? #828
-
I figured out how to use graphql-upload to allow a nexus server to handle file uploads. If I wanted to create a plugin to share this (say, nexus-plugin-file-upload) which would expose a "Upload" scalar and add a middleware to the server, is this possible and if so, could I get pointed in the right direction on structuring this plugin. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @kylejreed,
This is possible on runtime plugin interface, under schema key
Plugins cannot do this yet, but they will in the future. You can track #514 #523 #295.
Currently your goal is not possible, but fyi:
|
Beta Was this translation helpful? Give feedback.
Hey @kylejreed,
This is possible on runtime plugin interface, under schema key
Plugins cannot do this yet, but they will in the future. You can track #514 #523 #295.
Currently your goal is not possible, but fyi: