microsoftgraph / microsoftgraph/msgraph-sdk-dotnet

Incorrect sterilization value for BookingStaffRole.TeamMember

Open
#2,819 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Bug: metadata dependency:metadata
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.