Skip to content

Fix code-gen for single or many types. #7244

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Feb 27, 2023
Merged

Fix code-gen for single or many types. #7244

merged 7 commits into from
Feb 27, 2023

Conversation

stevejgordon
Copy link
Contributor

@stevejgordon stevejgordon commented Feb 27, 2023

Fixes #7221.
Fixes #7234.
Fixes #7240.

Introduces a converter for single or many types allowing them to be code generated correctly. Some unions are simplified as single or many collections rather than a union of , ICollection.

It also includes a fix to support numbers as strings in JSON responses from the server.

@stevejgordon stevejgordon added bug 8.x Relates to a 8.x client version labels Feb 27, 2023
@stevejgordon stevejgordon merged commit 7592f76 into main Feb 27, 2023
@stevejgordon stevejgordon deleted the bug-7221 branch February 27, 2023 15:59
github-actions bot pushed a commit that referenced this pull request Feb 27, 2023
* Add test for GetIndex response deserialization

* Add missing implementation for union converter

* Regenerate after code generator improvements

JSON serializer attributes are now included on a single line after some
recent codegenerator changes to support conditional attributes.

* Formatting updates after updating Roslyn packages

* Add number handling options to serializers

* After fixed codegen for DynamicTemplate

* Remove special handling for sort converter in generator
github-actions bot pushed a commit that referenced this pull request Feb 27, 2023
* Add test for GetIndex response deserialization

* Add missing implementation for union converter

* Regenerate after code generator improvements

JSON serializer attributes are now included on a single line after some
recent codegenerator changes to support conditional attributes.

* Formatting updates after updating Roslyn packages

* Add number handling options to serializers

* After fixed codegen for DynamicTemplate

* Remove special handling for sort converter in generator
github-actions bot pushed a commit that referenced this pull request Feb 27, 2023
* Add test for GetIndex response deserialization

* Add missing implementation for union converter

* Regenerate after code generator improvements

JSON serializer attributes are now included on a single line after some
recent codegenerator changes to support conditional attributes.

* Formatting updates after updating Roslyn packages

* Add number handling options to serializers

* After fixed codegen for DynamicTemplate

* Remove special handling for sort converter in generator
github-actions bot pushed a commit that referenced this pull request Feb 27, 2023
* Add test for GetIndex response deserialization

* Add missing implementation for union converter

* Regenerate after code generator improvements

JSON serializer attributes are now included on a single line after some
recent codegenerator changes to support conditional attributes.

* Formatting updates after updating Roslyn packages

* Add number handling options to serializers

* After fixed codegen for DynamicTemplate

* Remove special handling for sort converter in generator
github-actions bot pushed a commit that referenced this pull request Feb 27, 2023
* Add test for GetIndex response deserialization

* Add missing implementation for union converter

* Regenerate after code generator improvements

JSON serializer attributes are now included on a single line after some
recent codegenerator changes to support conditional attributes.

* Formatting updates after updating Roslyn packages

* Add number handling options to serializers

* After fixed codegen for DynamicTemplate

* Remove special handling for sort converter in generator
github-actions bot pushed a commit that referenced this pull request Feb 27, 2023
* Add test for GetIndex response deserialization

* Add missing implementation for union converter

* Regenerate after code generator improvements

JSON serializer attributes are now included on a single line after some
recent codegenerator changes to support conditional attributes.

* Formatting updates after updating Roslyn packages

* Add number handling options to serializers

* After fixed codegen for DynamicTemplate

* Remove special handling for sort converter in generator
github-actions bot pushed a commit that referenced this pull request Feb 27, 2023
* Add test for GetIndex response deserialization

* Add missing implementation for union converter

* Regenerate after code generator improvements

JSON serializer attributes are now included on a single line after some
recent codegenerator changes to support conditional attributes.

* Formatting updates after updating Roslyn packages

* Add number handling options to serializers

* After fixed codegen for DynamicTemplate

* Remove special handling for sort converter in generator
github-actions bot pushed a commit that referenced this pull request Feb 27, 2023
* Add test for GetIndex response deserialization

* Add missing implementation for union converter

* Regenerate after code generator improvements

JSON serializer attributes are now included on a single line after some
recent codegenerator changes to support conditional attributes.

* Formatting updates after updating Roslyn packages

* Add number handling options to serializers

* After fixed codegen for DynamicTemplate

* Remove special handling for sort converter in generator
stevejgordon added a commit that referenced this pull request Feb 27, 2023
* Add test for GetIndex response deserialization

* Add missing implementation for union converter

* Regenerate after code generator improvements

JSON serializer attributes are now included on a single line after some
recent codegenerator changes to support conditional attributes.

* Formatting updates after updating Roslyn packages

* Add number handling options to serializers

* After fixed codegen for DynamicTemplate

* Remove special handling for sort converter in generator

Co-authored-by: Steve Gordon <[email protected]>
stevejgordon added a commit that referenced this pull request Feb 27, 2023
* Add test for GetIndex response deserialization

* Add missing implementation for union converter

* Regenerate after code generator improvements

JSON serializer attributes are now included on a single line after some
recent codegenerator changes to support conditional attributes.

* Formatting updates after updating Roslyn packages

* Add number handling options to serializers

* After fixed codegen for DynamicTemplate

* Remove special handling for sort converter in generator

Co-authored-by: Steve Gordon <[email protected]>
stevejgordon added a commit that referenced this pull request Feb 27, 2023
* Add test for GetIndex response deserialization

* Add missing implementation for union converter

* Regenerate after code generator improvements

JSON serializer attributes are now included on a single line after some
recent codegenerator changes to support conditional attributes.

* Formatting updates after updating Roslyn packages

* Add number handling options to serializers

* After fixed codegen for DynamicTemplate

* Remove special handling for sort converter in generator

Co-authored-by: Steve Gordon <[email protected]>
stevejgordon added a commit that referenced this pull request Feb 27, 2023
* Add test for GetIndex response deserialization

* Add missing implementation for union converter

* Regenerate after code generator improvements

JSON serializer attributes are now included on a single line after some
recent codegenerator changes to support conditional attributes.

* Formatting updates after updating Roslyn packages

* Add number handling options to serializers

* After fixed codegen for DynamicTemplate

* Remove special handling for sort converter in generator

Co-authored-by: Steve Gordon <[email protected]>
stevejgordon added a commit that referenced this pull request Feb 27, 2023
* Add test for GetIndex response deserialization

* Add missing implementation for union converter

* Regenerate after code generator improvements

JSON serializer attributes are now included on a single line after some
recent codegenerator changes to support conditional attributes.

* Formatting updates after updating Roslyn packages

* Add number handling options to serializers

* After fixed codegen for DynamicTemplate

* Remove special handling for sort converter in generator

Co-authored-by: Steve Gordon <[email protected]>
stevejgordon added a commit that referenced this pull request Feb 27, 2023
* Add test for GetIndex response deserialization

* Add missing implementation for union converter

* Regenerate after code generator improvements

JSON serializer attributes are now included on a single line after some
recent codegenerator changes to support conditional attributes.

* Formatting updates after updating Roslyn packages

* Add number handling options to serializers

* After fixed codegen for DynamicTemplate

* Remove special handling for sort converter in generator

Co-authored-by: Steve Gordon <[email protected]>
stevejgordon added a commit that referenced this pull request Feb 27, 2023
* Add test for GetIndex response deserialization

* Add missing implementation for union converter

* Regenerate after code generator improvements

JSON serializer attributes are now included on a single line after some
recent codegenerator changes to support conditional attributes.

* Formatting updates after updating Roslyn packages

* Add number handling options to serializers

* After fixed codegen for DynamicTemplate

* Remove special handling for sort converter in generator

Co-authored-by: Steve Gordon <[email protected]>
stevejgordon added a commit that referenced this pull request Feb 27, 2023
* Add test for GetIndex response deserialization

* Add missing implementation for union converter

* Regenerate after code generator improvements

JSON serializer attributes are now included on a single line after some
recent codegenerator changes to support conditional attributes.

* Formatting updates after updating Roslyn packages

* Add number handling options to serializers

* After fixed codegen for DynamicTemplate

* Remove special handling for sort converter in generator

Co-authored-by: Steve Gordon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.x Relates to a 8.x client version
Projects
None yet
1 participant