Skip to content

Add units model to Ingredient - #836

Merged
joostlek merged 1 commit into
joostlek:mainfrom
andrew-codechimp:fix-units
Sep 19, 2026
Merged

joostlek merged 1 commit into
joostlek:mainfrom
andrew-codechimp:fix-units

Conversation

@andrew-codechimp

Copy link
Copy Markdown
Collaborator

Proposed Changes

The ingredient model only returned a string (json) for the unit, rather than the defined model.

Additionally added optional fields to the unit model that are relevant depending on input/output to Mealie (will be useful for shopping list ingredient parsing in a subsequent PR)

@andrew-codechimp andrew-codechimp added the bugfix Inconsistencies or issues which will cause a problem for users or implementers. label Sep 3, 2026
@joostlek
joostlek merged commit 8bb16ef into joostlek:main Sep 19, 2026
13 checks passed
@andrew-codechimp
andrew-codechimp deleted the fix-units branch September 19, 2026 14:18
andrew-codechimp added a commit to andrew-codechimp/python-mealie that referenced this pull request Sep 19, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bugfix Inconsistencies or issues which will cause a problem for users or implementers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants