Removing a ParseGraphQLConfiguration does cause server to return to default settings #6941
Closed
4 tasks done
Labels
type:docs
Only change in the docs or README
New Issue Checklist
Issue Description
If a change is made to a
ParseGraphQLConfiguration
usingsetGraphQLConfig()
, and then the change is removed, the original (default)ParseGraphQLConfiguration
does not return automatically. It must be reset by the developer.Steps to reproduce
graphQLConfig
similar to the example below.get
andfind
query aliases for theItem
class are in use.graphQLConfig
related code from the Parse Server instance and refresh the GraphQL Playground page.get
andfind
query aliases for theItem
class are in use.graphQLConfig
related code as mentioned in step#3
, change it to this (forces a reset of the previously-changed configuration settings):get
andfind
queries for theItem
class has returned to the defaultitem
anditems
query names, respectively.Parse Server Instance Example:
Actual Outcome
The
graphQLConfig
settings do not automatically return to their default settings after removing custom changes.Expected Outcome
The
graphQLConfig
settings should revert to their default settings automatically if no custom changes are applied.Environment
Server
4.3.0
Windows 10
localhost
Database
MongoDB
4.2.8
MongoDB Atlas
Client
GraphQL
N/A
Logs
The text was updated successfully, but these errors were encountered: