nsweeting/shopify

Add tests to validate structs

Ninigi opened this issue · 0 comments

To prevent issues like #45 we should add tests that read out the fixture keys and validate that the struct actually defines the correct fields.

Ideally we would not write a test for every single field in the struct, but use generated code to iterate over the keys and validate them automatically