You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using GetValueAsync throws if the request is reading a single entity and that entity is not found, and IgnoreResourceNotFoundException is set to true.
GetValue works as expected.
The different is that GetValue calls SingleOrDefault(), and EndGetValue (used by GetValueAsync) calls Single(). The usage of Single leads to an InvalidOperationException as the sequence has no elements due to the entity not being found.
OData Client v4.6
The text was updated successfully, but these errors were encountered:
Using GetValueAsync throws if the request is reading a single entity and that entity is not found, and IgnoreResourceNotFoundException is set to true.
GetValue works as expected.
The different is that GetValue calls SingleOrDefault(), and EndGetValue (used by GetValueAsync) calls Single(). The usage of Single leads to an InvalidOperationException as the sequence has no elements due to the entity not being found.
OData Client v4.6
The text was updated successfully, but these errors were encountered: