microsoft / microsoft/kiota-ruby
[Ruby] Support for untyped Json
Open
Nobody has claimed this yet.
enhancement
help wanted
ruby
- Dominant language
- Ruby
- Stars
- 5
- Forks
- 8
- Avg merge
- 11h 9m
- Merged PRs (30d)
- 24
Description
Similar to https://github.com/microsoft/kiota/pull/4095 we need to add support for untyped content in request/response payloads.
In summary, we need to
- Add
UntypedNodebase type in the abstractions library (see https://github.com/microsoft/kiota-abstractions-dotnet/pull/177) - Add derived types of
UntypedNodeto represent object, array and primitive types in the abstractions (see https://github.com/microsoft/kiota-abstractions-dotnet/pull/177) - Update the
getObjectValuemethod in the json serialization library to handle scenarios of untyped content (see https://github.com/microsoft/kiota-serialization-json-dotnet/pull/198) - Remove the call to
RemoveUntypedNodePropertyValuesin the refiner so that untyped properties are not stripped out. - Add tests in the generator.
- Ensure the "apisguru::apis.guru" integration test is passing.
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
Start by reading the referenced Kiota abstractions and JSON serialization pull requests, then locate the UntypedNode types, getObjectValue, RemoveUntypedNodePropertyValues, and generator tests in this repository. Verify the apisguru::apis.guru integration test before and after the work. Done means untyped object, array, and primitive payloads are preserved and all listed tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100