earloc / postomate

A library to automate and orchestrate requests out of a postman-collection with .net
MIT License
2 stars 0 forks source link

Decouple parsing of postman-collections from internal representations #9

Open earloc opened 3 years ago

earloc commented 3 years ago

The current parsing that is done directly in the core models (RequestCollection, RawRequest, etc. seems to be too coupled on the actual postman-schema.

In order to maybe support other sources, like e.g. Insomnia or SOAP-UI, the actual parsing of source-requests should be decoupled in a way that is more extensible.

Work done in this issue should also relocate the models from the Postomate.Postman-namespace into the root namespace Postomate, denoting a breaking-change. Gladly, there is no official package out, yet - so this is absolutely a no-brainer.

The resulting design should presumably abstract away the details needed to fill the models, regardless of the actual source - even if the only source currently is a postman-collection.

earloc commented 3 years ago

maybe YAGNI, postponed