Add a pattern description of a "draft" entity by corranrogue9 · Pull Request #464 · microsoft/api-guidelines
Navigation Menu
{{ message }}
microsoft / api-guidelines Public
- Notifications You must be signed in to change notification settings
- Fork 2.7k
Open
Add a pattern description of a "draft" entity#464
corranrogue9 wants to merge 6 commits intovNextfrom
Add a pattern description of a "draft" entity#464
corranrogue9 wants to merge 6 commits intovNextfrom
Conversation
Copy link
Contributor
corranrogue9
commented
Jul 5, 2023
corranrogue9
commented
This pattern is really an anti-pattern which describes having a "draft" entity which has relaxed validation so that properties required to create the "real" entity can be added piecewise. In OOP, this is known as the "builder pattern".
corranrogue9 added 6 commits
July 5, 2023 14:20
corranrogue9
requested review from
OlgaPodo,
darrelmiller and
dkershaw10
OlgaPodo
added
Graph Guidelines
labels
Dec 1, 2023This 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