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?
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
GraphTypeAttributeandGraphPropertyAttributeattributes to indicate a model class and/or property requires the beta endpointProvide 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
Team.Get()) behaviour?