Skip to content

fix: Record validation errors#156

Merged
ReubenFrankel merged 2 commits into
masterfrom
fix/mel-425-record-validation-errors
Jul 8, 2026
Merged

fix: Record validation errors#156
ReubenFrankel merged 2 commits into
masterfrom
fix/mel-425-record-validation-errors

Conversation

@ReubenFrankel

@ReubenFrankel ReubenFrankel commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

When running against an SDK target with validate_records set to true, we hit a couple of record validation errors:

  • line_items
    jsonschema.exceptions.ValidationError: [] is not of type 'object', 'null'
    
    Failed validating 'type' in schema['properties']['properties']:
        {'additionalProperties': True,
         'properties': {},
         'type': ['object', 'null']}
    
    On instance['properties']:
        []
  • orders
    jsonschema.exceptions.ValidationError: False is not of type 'string', 'null'
    
    Failed validating 'type' in schema['properties']['tax_exempt']:
        {'type': ['string', 'null']}
    
    On instance['tax_exempt']:
        False

@ReubenFrankel ReubenFrankel self-assigned this Jul 8, 2026
@ReubenFrankel ReubenFrankel added the bug Something isn't working label Jul 8, 2026
@ReubenFrankel ReubenFrankel merged commit aae6b0c into master Jul 8, 2026
15 checks passed
@ReubenFrankel ReubenFrankel deleted the fix/mel-425-record-validation-errors branch July 8, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant