Skip to content

Clarify the behavior of Add... integration extension methods and contrast them with With... methods #4736

@alistairmatthews

Description

@alistairmatthews

Describe the issue or suggestion

Integrations extension methods conform to this pattern:

  • With... These methods configures the object and returns the original object.
  • Add... These methods add a new child object and returns the new child.

Devs may find the Add methods' behavior unexpected. For example: https://discordapp.com/channels/1361488941836140614/1417232708731404318

Add a new section to the Integrations Overview article to clarify this.


Associated WorkItem - 492205

Metadata

Metadata

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions