You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently accepted types should remain available for any data format.
Internal methods implementation should change. Required changes are:
Add new services container to APIContext: TypeMappers
TypeMappers container should contain fields: JSON, YAML, Go which holds services for corresponding formats.
Add new subpackage: types with Mapper interface definition and implementation for JSON, YAML and Go-like formats.
The text was updated successfully, but these errors were encountered:
Following methods:
accepts "nil", "string", "int", "float", "bool", "map", "slice" as type argument.
Methods should be able to detect data types related with JSON / YAML.
So, methods should now accept also following types:
Currently accepted types should remain available for any data format.
Internal methods implementation should change. Required changes are:
Add new subpackage: types with Mapper interface definition and implementation for JSON, YAML and Go-like formats.
The text was updated successfully, but these errors were encountered: