Skip to content

force pydantic to not allow adding new fields on packing list element | better fallback on UI while showing packing list#248

Open
pimonteiro wants to merge 1 commit intoitskovacs:mainfrom
pimonteiro:fix/issue_247
Open

force pydantic to not allow adding new fields on packing list element | better fallback on UI while showing packing list#248
pimonteiro wants to merge 1 commit intoitskovacs:mainfrom
pimonteiro:fix/issue_247

Conversation

@pimonteiro
Copy link
Copy Markdown

@pimonteiro pimonteiro commented Mar 31, 2026

Related to issue #247

The problem was, due to lack of validation on the API, when adding an element to the packing list, it dindt block the request if it had extra fields neither if the main field - text - was not provided.

This made the UI break when trying to load the packing list.

… | better fallback on UI while showing packing list
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.

1 participant