microsoft / microsoft/cppgraphqlgen
Enhancement: serializer control tokens
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 350
- Forks
- 56
- Avg merge
- 2h 33m
- Merged PRs (30d)
- 3
Description
I need to control precision of json serializer for specific fields. It would be perfect to for example push something like setPrecisiin token before and after field value.
I think it could be implemented with FieldParams optional field that could be set by user implementwtion upon field visit. It could be in a form of some kind control token factory invoked before and after token value visit. The token itself could work just like reserve token.
Contributor guide
No contributing guide indexed for this repository
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
Start by locating FieldParams and the existing reserve token implementation in the serializer. Clarify how a user-provided control-token factory should run before and after a field value, and define done as precision being controllable for selected JSON fields without affecting other fields.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100