Skip to content

Bound operations not appended to non-contained navigation property paths #232

@irvinesunday

Description

@irvinesunday

Related to #201

With this bound operation:
image

and given this non-contained navigation property:
image

and given a schema namespace value of microsoft.graph

We expect to generate paths similar to below:
.../followedSites/microsoft.graph.add

This is not the case with the current version because we check the containment of the navigation property here.
According to the spec. doc., see ref:

Actions and Functions MAY be bound to an entity type, primitive type, complex type, or a collection...
The namespace- or alias-qualified name of a bound operation may be appended to any URL that identifies 
a resource whose type matches, or is derived from, the type of the binding parameter. 

This may be applied to any navigation property segment as long as its type matches the type of the binding parameter.

Metadata

Metadata

Assignees

Labels

dependency:odataOData lib dependencypriority:p1High priority but not blocking. Causes major but not critical loss of functionality SLA <=7daysstatus:waiting-for-dependencyAn issue that has core project dependency that's currently blocking ittype:feature

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions