Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate WebAPI Types #36

Open
killerrin opened this issue Aug 15, 2023 · 0 comments
Open

Generate WebAPI Types #36

killerrin opened this issue Aug 15, 2023 · 0 comments

Comments

@killerrin
Copy link

Hey Scott, I've got a feature suggestion/request.

This tooling is awesome for generating types, but one thing I've noticed that its missing is the ability for it to generate an Interface for WebAPI Types.

As you likely know, when you go to retrieve records with the WebAPI, some of the attribute names you get back are slightly different. To give an example lookups have the format of _xxx_,myattribute_value... and each record gets an @odata.etag appended.

Also when you to to make updates, you have to use the capital sensitive [email protected] attribute.

So would it be possible to get the ability to generate API Types added in? I`m thinking it would mainly just be a variant of the IEntity Interface Types that are already being generated, but it would generate two entries for the Lookups. One for the API Retrieval Format, and one for the Create/Update format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant