Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix] Add logger for compiler and marshal while comparing union (#6034)
* feat: fix Union type with dataclass ambiguous error Signed-off-by: mao3267 <[email protected]> * fix: direct json comparison for superset Signed-off-by: mao3267 <[email protected]> * fix: go.mod missing entry for error Signed-off-by: mao3267 <[email protected]> * fix: update go module and sum Signed-off-by: mao3267 <[email protected]> * refactor: gci format Signed-off-by: mao3267 <[email protected]> * test: add dataset casting tests for same (one/two levels) and superset (one level) dataclass Signed-off-by: mao3267 <[email protected]> * fix: support Pydantic BaseModel comparison Signed-off-by: mao3267 <[email protected]> * fix: handle nested pydantic basemodel Signed-off-by: mao3267 <[email protected]> * Reviews from Eduardo Signed-off-by: Future-Outlier <[email protected]> * fix: support strict subset match Signed-off-by: mao3267 <[email protected]> * test: update strict subset match test Signed-off-by: mao3267 <[email protected]> * fix: missing go mod entry Signed-off-by: mao3267 <[email protected]> * fix: missing go mod entry Signed-off-by: mao3267 <[email protected]> * fix: go mod entry Signed-off-by: mao3267 <[email protected]> * make go-tidy Signed-off-by: Future-Outlier <[email protected]> * comments Signed-off-by: Future-Outlier <[email protected]> * fix: strict subset match with draft 2020-12 mashumaro Signed-off-by: mao3267 <[email protected]> * refactor: make go-tidy Signed-off-by: mao3267 <[email protected]> * fix: support strict subset match with ambiguity Signed-off-by: mao3267 <[email protected]> * fix: change test name and fix err Signed-off-by: mao3267 <[email protected]> * Add comments Signed-off-by: Future-Outlier <[email protected]> * nit Signed-off-by: Future-Outlier <[email protected]> * add flytectl go-tidy in makefile Signed-off-by: Future-Outlier <[email protected]> * nit Signed-off-by: Future-Outlier <[email protected]> * fix: add comment for error checking Signed-off-by: mao3267 <[email protected]> * test: basemodel castable test, two level dataclass and ParentToChild failure Signed-off-by: mao3267 <[email protected]> * fix: add logger for jsonschema compiler Signed-off-by: mao3267 <[email protected]> * fix: add logger for marshal and compiler Signed-off-by: mao3267 <[email protected]> * better error msg format Signed-off-by: Future-Outlier <[email protected]> --------- Signed-off-by: mao3267 <[email protected]> Signed-off-by: Future-Outlier <[email protected]> Co-authored-by: Future-Outlier <[email protected]>
- Loading branch information