Unify crud grammar - #2133
Closed
bfoley12 wants to merge 606 commits into
Closed
Conversation
…y_name and bucket_name out of router function defs since they are in flux
… contributions reference the component in question
…nt-specific repos still exist to declare their document and out_model types, but have no subclass-specific logic
…s empty - we have defaults now
…across our stack easily, but loses centralization. We only had light centralization, but future efforts would not be immediately shared
…ser - users can no longer operate on components that their contributions dontown
…tructive modification of Contribution.data in bulk and single patch cases
Primarily focused on additive Contribution.data logic
…data validator logic now lives in data.py:ContributionStoredData rather than directly in models
…eced_components_ids is structured reduced code duplication and unnecessary abstractions
Contrib data handling
…ified some method grammar moved from *_by_id and *_by_identifiers into a unified *_one grammar
…pecific methods in favor of parent class methods
…dantic field default declarations
…errode the ProjectBase declaration
…tive in favor of a unified, general patch implementation
…tch_one` to handle server calculated fields that don't fit within *Patch (ie. Links)
…ult_fields to tuple
…ss one-line abstraction and implemente from_input_model
Project category
all domains now expose public `*_one` and `*_many` rather than including their domain in the method names. This allows for a similar method space regardless of domain
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Major changes: