Skip to content

Commit

Permalink
fix: Null type is now correctly appended as {"type": "null"} to `on…
Browse files Browse the repository at this point in the history
…eOf` types
  • Loading branch information
edgarrmondragon committed Feb 19, 2024
1 parent 5e02dac commit b5e4039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion singer_sdk/helpers/_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def append_type(type_dict: dict, new_type: str) -> dict:
return result

if "oneOf" in result:
result["oneOf"].append(new_type)
result["oneOf"].append({"type": new_type})
return result

if "type" in result:
Expand Down

0 comments on commit b5e4039

Please sign in to comment.