MarketSquare / roboswag

Apache License 2.0
26 stars 2 forks source link

Nullable values support #65

Open BCGST opened 1 year ago

BCGST commented 1 year ago
ValidationError: None is not of type 'string'

Failed validating 'type' in schema['properties']['timeRemoved']:
    {'format': 'date-time', 'nullable': True, 'type': 'string'}

On instance['timeRemoved']:
    None

I have schema that suggests the value of this field should be allowed to be null/None but the schema validator fails on it. Is this expected behavior right now?

mnojek commented 1 year ago

Hello @BCGST, Unfortunately, I don't have time to look at it right now, but I'm just giving you a heads-up that I will have more time mid-June and I will definitely get back to this project and help you. Sorry for the inconvenience.