Skip to content

Conversation

@woha
Copy link

@woha woha commented Feb 19, 2025

The provided code example does not work.

IODataClientFactory.CreateClient requires an Uri parameter in addition to the client name.

The provided code example does not work.

IODataClientFactory.CreateClient<T> requires an Uri parameter in addition to the client name.
@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 5944595:

💡 Validation status: suggestions

File Status Preview URL Details
Odata-docs/client/using-extensions.md 💡Suggestion View Details

Odata-docs/client/using-extensions.md

  • Line 112, Column 238: [Suggestion: learn-site-link-broken - See documentation] Link '/odata/client/v7/using-hooks' points to a learn site page that doesn't exist. Check the path or URL and update the link.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

For any questions, please:

{
var client = _clientFactory.CreateClient<DefaultContainer>("TripPin");
var baseUri = new Uri("https://services.odata.org/v4/(S(lqbvtwide0ngdev54adgc0lu))/TripPinServiceRW/");
var client = _clientFactory.CreateClient<DefaultContainer>(baseUri, "TripPin");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your suggestion is to do this for every action

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

Successfully merging this pull request may close these issues.

2 participants