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
Refactor in favor to use primitiveOrStruct. (#159)
* change unmarshalString to primitiveOrStruct
Signed-off-by: André R. de Miranda <[email protected]>
* Add unit test for DefaultCondition UnmarshalJSON
Signed-off-by: André R. de Miranda <[email protected]>
* Improve switch case
Signed-off-by: André R. de Miranda <[email protected]>
* Change unmarshall array/object/file and change error messages
Signed-off-by: André R. de Miranda <[email protected]>
* Check response.Write error
Signed-off-by: André R. de Miranda <[email protected]>
* Move default values to the function ApplyDefault()
Signed-off-by: André R. de Miranda <[email protected]>
* Change the go version to 1.20 on workflows
Signed-off-by: André R. de Miranda <[email protected]>
* uri scheme empty the default is file://
Signed-off-by: André R. de Miranda <[email protected]>
* Change the golang version to 1.20.2. Fix lint
Signed-off-by: André R. de Miranda <[email protected]>
* Rebase from main branch
Signed-off-by: André R. de Miranda <[email protected]>
* Revision suggestions. Add a new interface for the types used in const, that aux the validation and error handling.
Signed-off-by: André R. de Miranda <[email protected]>
* Refactor unmarshalObjectOrFile and unmarshalArrayOrFile
Signed-off-by: André R. de Miranda <[email protected]>
* Revision suggestions. Rename interface Kinds to Kind
Signed-off-by: André R. de Miranda <[email protected]>
* Accept external resource as object or array
Signed-off-by: André R. de Miranda <[email protected]>
* Revision suggestions. Support golang 1.19 and external resource
Signed-off-by: André R. de Miranda <[email protected]>
* Revision suggestions
Signed-off-by: André R. de Miranda <[email protected]>
* Revision suggestions
Signed-off-by: André R. de Miranda <[email protected]>
* Revision suggestions. Add more tests
Signed-off-by: André R. de Miranda <[email protected]>
* Remove tag #nosec in model/util.go
Co-authored-by: Filippe Spolti <[email protected]>
Signed-off-by: André R. de Miranda <[email protected]>
* Rename AuthArray to Auths, and ErrorArray to Errors. Improve loadExternalResource. Clean state json. Add state type validation oneofkind
Signed-off-by: André R. de Miranda <[email protected]>
* Return json tags in state
Signed-off-by: André R. de Miranda <[email protected]>
---------
Signed-off-by: André R. de Miranda <[email protected]>
Co-authored-by: Filippe Spolti <[email protected]>
0 commit comments