I'm try to fix the schema for a tap I'm working on...
# singer-tap-development
m
I'm try to fix the schema for a tap I'm working on, but I have trouble with a property where the API sometimes returns a numeric value but sometimes returns a string value depending on the row. I tried using the "OneOf" type like this:
Property('step_number', OneOf(IntegerType, StringType))
but then I get this error on run: `ValueError: Could not append type because the JSON schema for the dictionary
{'oneOf': [{'type': ['integer']}, {'type': ['string']}]}
appears to be invalid.` What's the best way to handle this type of property? Should I use a transformation step to coerce the numeric values to strings and just use a StringType in the schema?