Skip to content

Graph beta vs v1 endpoint #1

@jansenbe

Description

@jansenbe

Currently the SDK uses the Microsoft Graph beta endpoint: this is good for getting the most features, but before releasing into production we need to be able to only run on production v1.

Suggested changes are:

  • Change default to use v1

  • Provide properties on the GraphTypeAttribute and GraphPropertyAttribute attributes to indicate a model class and/or property requires the beta endpoint

  • Provide switches (config file + PnPContext) to turn on beta support (GraphUseBeta / GraphCanUseBeta)

  • When property/model is beta only (based up on property decoration) and when beta use is allowed then we hit the beta endpoint...if beta is not allowed, the requested models/properties will not be loaded

    • Question: what with the default load (e.g. Team.Get()) behaviour?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions