IBM / go-sdk-core

The go-sdk-core repository contains core functionality required by Go code generated by the IBM OpenAPI SDK Generator.
Apache License 2.0
30 stars 24 forks source link

feat: add support for unmarshalling two-dimensional slices of model instances #103

Closed padamstx closed 3 years ago

padamstx commented 3 years ago

This commit improves the model unmarshalling capabilities within the Go core by adding support for an additional pattern ([][]MyModel) within the UnmarshalModel() function. The full set of patterns now supported are:

padamstx commented 3 years ago

@mkistler @pyrooka I still need to perform some testing with the Go generator and with the platform-services SDK project, but I think this PR is in shape to begin reviewing.

padamstx commented 3 years ago

@mkistler I've pushed a new commit that adds tests for two-dimensional arrays of primitive types.

ibm-devx-automation commented 3 years ago

:tada: This PR is included in version 5.3.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: