Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix parse config fieldOverrides #449

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

AlanDellonSchwartzman
Copy link
Contributor

@AlanDellonSchwartzman AlanDellonSchwartzman commented Sep 2, 2024

When the "fieldOverrides" configuration was passed in a config file (like "mst-gql.config.js") as an array, it was not working because it was not formatted with "parseFieldOverrides", needing to create a different value field like "[["_id", "*", "string"]]", when it should be just "["_id:*:string"]".

@beepsoft beepsoft merged commit 7d473fc into mobxjs:development Sep 3, 2024
@beepsoft
Copy link
Collaborator

beepsoft commented Sep 3, 2024

Thanks, @AlanDellonSchwartzman! Merged and fixed to check for undefined config.fieldOverrides. Published 0.17.3.

@AlanDellonSchwartzman
Copy link
Contributor Author

Good observation. I'm glad I could contribute :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants