Skip to content

Fluid API design.#4

Draft
terjekv wants to merge 10 commits intounioslo:mainfrom
terjekv:fluid_api
Draft

Fluid API design.#4
terjekv wants to merge 10 commits intounioslo:mainfrom
terjekv:fluid_api

Conversation

@terjekv
Copy link

@terjekv terjekv commented Feb 10, 2026

Also removes the singleton design.

- Adds a ModelList class with bulk operations
- List methods in update manager   return ModelList[T]
- Introduced typed patch payloads for all models
- Added `patch_typed` and `patch_raw` methods to models for patching flexibility.
- Updated `MregClient` to return specialized managers for models, enhancing type safety.
- Enhanced `ModelList` to support bulk patching with typed and raw payloads.
- Updated documentation to reflect new patching methods and usage examples.
- Added tests to ensure functionality of new patching methods and typed payloads.
- Split larger files (tests, models, client)
- Linted everything (still uses Any though)
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