aviaviavi / curl-runnings

A declarative test framework for quickly and easily writing integration tests against JSON APIs.
MIT License
158 stars 13 forks source link

Replaces constructor pattern matching with record matching for CurlCase #50

Closed paulcadman closed 4 years ago

paulcadman commented 4 years ago

This means the code doesn't have to be updated whenever a new field is added to CurlCase.

This cleanup was suggested in https://github.com/aviaviavi/curl-runnings/pull/48

My PR to add URLEncoded request body support will add another field to CurlCase so it makes sense to add this now.

aviaviavi commented 4 years ago

Fantastic, thanks!