scottdurow / dataverse-ify

Easily call the Dataverse WebApi from TypeScript using SDK style types, with a NodeJS implementation for integration testing.
MIT License
58 stars 16 forks source link

Ability to output early bound classes only #2

Closed filcole closed 2 years ago

filcole commented 4 years ago

Hi Scott, Really interesting stuff thanks for sharing. I think the "early bound" generation of the entity classes that are compatible with @types/xrm is really nice. Would it be possible to add an option to solely generate those classes? That might make CDSify easier to get integrated with existing code bases.

scottdurow commented 4 years ago

Thanks @filcole for the encouragement. The template and types cdsify uses are fully customisable (I’ll post an example shortly but you can use eject to create a project specific set of templates) - however the main point of cdsify is that it removes the need to use raw webapi/odata shapes that have lots of additional un-obvious fields and oddities! 😉

If you want a low barrier to entry route - this might be of interest- https://github.com/scottdurow/cdsify/wiki/Using-cdsify-without-CdsServiceClient