Types.DocumentArray
Describes how to deal with a cosmos db field type of Types.DocumentArray
Cosmos DB Model
Domain Props
Domain Entity Reference
Domain Class
Getter
Setter
No setter for domain objects local to the aggregate root (Entity or ValueObject)
Only need setRef method for PopulatedDoc type fields
Domain Adapter
Getter
Note: PhysicianLicenseDomainAdapter should exist in same file as PhysicianDomainAdapter
Setter
No setter for Types.DocumentArray type fields
Wil be handled in domain adapter for that domain context, PhysicianLicenseDomainAdapter
Last updated
Was this helpful?