You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
⚠️ 🕸️ Mesh - config Configuration file is not valid!
⚠️ 🕸️ Mesh - config This is just a warning! It doesn't have any effects on runtime.
⚠️ 🕸️ Mesh - config Error: must be object
This error goes away if I provide a static Authorization directly (but of course I need to update this dynamically!)
So it appears we cannot yet invoke javascript to return dynamic output for the operation and schema headers, unless I missed something.
How can I set myself up to dynamically invoke javascript when I pull the schema and when I query?
Following advice I saw on another issue here, I attemped to use the following configuration:
with
./introspection-headers.js
having,However, this config yields the following issue:
This error goes away if I provide a static
Authorization
directly (but of course I need to update this dynamically!)So it appears we cannot yet invoke javascript to return dynamic output for the operation and schema headers, unless I missed something.
How can I set myself up to dynamically invoke javascript when I pull the schema and when I query?
(Added context - here is my
package.json
)The text was updated successfully, but these errors were encountered: