-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
SchemaOptions
definition not properly added
#7805
Comments
Thanks for opening this issue!
|
SchemaOptions
definition not properly added
What do you think about having |
What do you mean by "checked by the CI"? |
Well I’m assuming here that a contributor thought that they had to manually edit the Definitions.js file (even though it says “ Do not manually), instead of adding to index.js. I think it would be good to possibly have a CI check to make sure npm run definitions matches the committed Definitions.js file, so we can be sure no manual editing has been applied. |
Got it, I think we could simply generate the definitions file again and compare the result with what's been committed. Or do you have a different idea? |
The source of the problem is simply related to the fact that the definitions were added manually to the auto-generated file |
Thanks for fixing this, the discussion was about how to prevent that in the future. Generating the definitions file and comparing it to the current definitions seems an easy check for the CI. I opened #7918 so we close this issue with your fix. |
Closed via #7917 |
New Issue Checklist
Issue Description
The Parse Server options
SchemaOptions
which were added in #7418 were not properly added to the definition file.The
SchemaOptions
are defined in/src/Options/Definitions.js
, but when re-building the options withnpm run definitions
, the options are removed.Steps to reproduce
npm run definitions
Actual Outcome
Schema options are removed from
/src/Options/Definitions.js
.Expected Outcome
Schema options should be properly re-built.
Environment
Server
5.0.0-alpha.24
The text was updated successfully, but these errors were encountered: