Skip to content
Snippets Groups Projects

Prevent removing parameter overrides on first schema generation

Merged Erwan Rouchet requested to merge fix-parameters-pop into master

This is ground work for #264 (closed). While working on this issue, I noticed that generating the schema once caused a lot of declared filters to be missing on all the subsequent generations for as long as the server is running; it turns out a .pop() on a dict caused the overriden parameters to go missing.

The failing test on !759 (merged) demonstrates the issue: https://gitlab.com/arkindex/backend/-/jobs/571343657

Edited by Erwan Rouchet

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading