зеркало из https://github.com/microsoft/kiota.git
Merge branch 'main' into fix-union-deserializer-go
This commit is contained in:
Коммит
e5f0bd2c91
|
@ -14,7 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
### Changed
|
||||
|
||||
- Fixed an issue where when generating Go code the deserializer for unions was using `CodeClass` as a filter and not `CodeInterface`. [#4844](https://github.com/microsoft/kiota/issues/4844)
|
||||
|
||||
- Fixes mapping of `int16` format to the `integer` type rather than `double` when the type is `integer` or `number` [#5611](https://github.com/microsoft/kiota/issues/5611)
|
||||
|
||||
## [1.19.1] - 2024-10-11
|
||||
|
||||
|
@ -26,7 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- Fixed cyclic dependencies in generated Go code. [#2834](https://github.com/microsoft/kiota/issues/2834)
|
||||
- Fixed a bug where default output folder is created on plugin edit and generate commands. [#5510](https://github.com/microsoft/kiota/issues/5429)
|
||||
- Changed GeneratedCode attribute applied when generating CSharp to only include the major version of Kiota. [#5489](https://github.com/microsoft/kiota/issues/5489)
|
||||
- Fixed genarating CSharp client displays clean hint regardless of whether --clean-output is already passed [#5576](https://github.com/microsoft/kiota/issues/5576)
|
||||
- Fixed generating CSharp client displays clean hint regardless of whether --clean-output is already passed [#5576](https://github.com/microsoft/kiota/issues/5576)
|
||||
|
||||
## [1.19.0] - 2024-10-03
|
||||
|
||||
|
|
|
@ -136,5 +136,5 @@ sniffio==1.3.1 ; python_version >= '3.7'
|
|||
|
||||
uritemplate==4.1.1 ; python_version >= '3.6'
|
||||
|
||||
yarl==1.15.2 ; python_version >= '3.7'
|
||||
yarl==1.15.3 ; python_version >= '3.7'
|
||||
|
||||
|
|
|
@ -1154,6 +1154,7 @@ public partial class KiotaBuilder
|
|||
("number" or "integer", "int8") => "sbyte",
|
||||
("number" or "integer", "uint8") => "byte",
|
||||
("number" or "integer", "int64") => "int64",
|
||||
("number", "int16") => "integer",
|
||||
("number", "int32") => "integer",
|
||||
("number", _) => "double",
|
||||
("integer", _) => "integer",
|
||||
|
|
|
@ -4491,6 +4491,8 @@ components:
|
|||
[InlineData("integer", "int64", "int64")]
|
||||
[InlineData("number", "int8", "sbyte")]
|
||||
[InlineData("integer", "int8", "sbyte")]
|
||||
[InlineData("number", "int16", "integer")]
|
||||
[InlineData("integer", "int16", "integer")]
|
||||
[InlineData("number", "uint8", "byte")]
|
||||
[InlineData("integer", "uint8", "byte")]
|
||||
[InlineData("number", "", "double")]
|
||||
|
|
Загрузка…
Ссылка в новой задаче