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
The GraphQL sandbox that Vendure uses by default is deprecated. Change your vendure-config.ts file to look like this to use the more modern Apollo GraphQL Studio:
import{ApolloServerPluginLandingPageLocalDefault}from'@apollo/server/plugin/landingPage/default';exportconstconfig: VendureConfig={// ... other stuff ...apiOptions: {// ... other stuff ...shopApiPlayground: false,adminApiPlayground: false,apolloServerPlugins: IS_DEV
? [ApolloServerPluginLandingPageLocalDefault()]
: [],}},// ... more other stuff ...};
Thanks for providing that work-around. I think ultimately we need to consider moving to that in the core. But I'm not sure whether I like that particular one provided by Apollo, because the whole app is served from Apollo's servers. I'd prefer something self-contained.
Ideally, we can use graphiql and wrap it into an Apollo plugin that implements the renderLandingPage method.
michaelbromley
changed the title
3000/admin-api has a bug
built-in graphql playground has buggy tooltips
Nov 29, 2024
Describe the bug
In http://localhost:3000/admin-api has a bug that makes code mirror-hint show up and doesn't disappear, and It stays there forever
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I think It should be disappear
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: