@odata2ts/converter-runtime
v0.5.0
Published
Provides necessary implementations for using odata2ts converters at runtime
Downloads
17,907
Maintainers
Readme
Converter Runtime for odata2ts
Provides necessary implementations for using odata2ts converters within the generation process. So this library is primarily intended to be used by the odata2ts generator.
Provided implementations:
ChainedConverter
: chains the output of converter A to the input of converter BloadConverters()
: loading function to dynamically import specified converters- takes care of loading order => last converter wins if multiple converters could be used for a given data type
- returns mapping of OData data types to
ConverterChains
Installation
npm install --save @odata2ts/converter-runtime
Documentation
Main Documentation of odata2ts: https://odata2ts.github.io/
Support, Feedback, Contributing
This project is open to feature requests, suggestions, bug reports, usage questions etc. via GitHub issues.
Contributions and feedback are encouraged and always welcome.
See the contribution guidelines for further information.
Spirit
This project has been created and is maintained in the following spirit:
- adhere to the OData specification as much as possible
- support any OData service implementation which conforms to the spec
- allow to work around faulty implementations if possible
- stability matters
- exercise Test Driven Development
- bomb the place with unit tests (code coverage > 95%)
- ensure that assumptions & understanding are correct by creating integration tests
License
MIT - see License.