microsoftgraph / microsoftgraph/msgraph-sdk-dotnet
Incorrect sterilization value for BookingStaffRole.TeamMember
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 789
- Forks
- 264
- Avg merge
- 15h 17m
- Merged PRs (30d)
- 3
Description
Hi :)
Regarding BookingStaffRole.TeamMember:
https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/7678bb966e408e26e4f0f6d1c8286acac7bdeef5/src/Microsoft.Graph/Generated/Models/BookingStaffRole.cs#L35-L37
It seems that the string value is incorrect. The API returns and accepts "member", and not "teamMember" as both the SDK and documentation indicate.
Regards,
Daniel
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open src/Microsoft.Graph/Generated/Models/BookingStaffRole.cs at lines 35–37 and inspect how BookingStaffRole.TeamMember is represented. Compare the SDK and documentation value with the API's reported and accepted value, then update the affected representation so it uses the API value consistently and verify the generated model documentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100