Skip to content

For persistor projections, handle default case (no primitives wanted in projection) #16

@sshankar19

Description

@sshankar19

in persistor new api tests there is

 projection: { Address: ['city'], Role: ['name'], Phone ['']}}).then(function(employee) {
            expect(employee.homeAddress.state).is.equal(undefined);

revisit this for fetching all persistor related properties, foreign keys but not primitives. Maybe should be Phone: null or Phone: []

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions