microsoft / microsoft/kiota

Serialization of flagged/bitwise enums

Open
#3,238 1 comment 0 reactions 0 assignees View on GitHub
enhancement generator
Dominant language
C#
Stars
3.8k
Forks
333
Avg merge
16h 29m
Merged PRs (30d)
116

Description

Follow up to https://github.com/microsoft/kiota/issues/3237

Passing over the style(serialization) format information to the serializers would either mean

- Adding an extra style parameter to the getCollectionOfEnumValues/writeCollectionOfEnumValues/writeEnumValue/getEnumValue functions used by the serializers
- Adding new WriteFlaggedEnum/GetFlaggedEnum that takes the style parameter.

Both would be breaking changes as they would introduce a new function to the existing serialization interfaces or change method signatures.

Contributor guide

Open the contributing guide

Research direction

Start by reading issue #3237 and the existing serialization interfaces referenced in this issue. Compare the two proposed approaches for passing style information to enum serializers; the work is complete when a compatible approach for flagged/bitwise enum serialization is agreed and implemented.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.