Add a pattern description of a "draft" entity by corranrogue9 · Pull Request #464 · microsoft/api-guidelines

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@corranrogue9

Copy link

Contributor

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".

@OlgaPodo OlgaPodo added Graph Guidelines

This should be reviewed by Microsoft Grap team.

Microsoft Graph

This should be reviewed by Microsoft Grap team.

labels

Dec 1, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@darrelmiller darrelmiller Awaiting requested review from darrelmiller

@dkershaw10 dkershaw10 Awaiting requested review from dkershaw10

@OlgaPodo OlgaPodo Awaiting requested review from OlgaPodo

Assignees

No one assigned

Labels

Graph Guidelines

This should be reviewed by Microsoft Grap team.

Microsoft Graph

This should be reviewed by Microsoft Grap team.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@corranrogue9 @OlgaPodo