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

Allow Connected Service to generate types as internal #93

Closed
Danthar opened this issue Mar 7, 2019 · 3 comments
Closed

Allow Connected Service to generate types as internal #93

Danthar opened this issue Mar 7, 2019 · 3 comments
Assignees
Labels

Comments

@Danthar
Copy link

Danthar commented Mar 7, 2019

When using multiple libraries which use an OData connected service. Their service types are exposed as public. This causes issues when using multiple libraries which use the same odata endpoint, in the same application.

This problem can be mitigated by using custom namespace prefixes during generation of the OData reference.

But what would be ideal is that these service types can be marked as internal.

@KanishManuja-MS
Copy link
Contributor

@odero Another worthwhile ask.

@unchase
Copy link

unchase commented Feb 20, 2020

Add this feature in Unchase.Odata.Connectedservice v1.4.0

  • Only for OData v4 and with unchecked Add code templates (Whether to include the T4 files into this project) option.

Marketplace

@habbes
Copy link
Contributor

habbes commented Mar 4, 2020

@Danthar this feature is available in the latest release of OData Connected Service available on the marketplace: https://marketplace.visualstudio.com/items?itemName=laylaliu.ODataConnectedService

@habbes habbes closed this as completed Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants