Comments (4)
NullValueHandling.Ignore is very important for this endpoint because it's a PATCH. This allows the code to update only data that is set. Updating this to Include would send any unset property as null resulting in lost data and/or errors
from auth0.net.
I agree. PATCH should work just like you described. The problem is that we are not able to send information like "I want to clear this field". Or there is other way to do it?
from auth0.net.
Sorry for the delay. You indeed are not able to set the properties to null, and we can not stop ignoring null values as that would break alot of people and cause unexpected behavior as mentioned above.
For now, you might need to work around this by calling the endpoint yourself.
Leaving this open to see if we can improve how we handle PATCH endpoints in general, as I can see this being an issue for any PATCH operation.
from auth0.net.
With the current SDK, I believe there isn't much we can do to allow for this. The only recommendation we can do for now is to roll your own call.
Even thought we could make the JsonSerializerSettings configurable, that might cause unexpected behavior when you set NullValueHandling.Include
, so we are holding off from that for now. Happy to revisit in the future as needed.
from auth0.net.
Related Issues (20)
- IManagementApiClient HOT 2
- Make IManagementApiClient implement IDisposable
- No possibility of gaining refresh token HOT 1
- OrganizationCreateRequest model doesn't contain definition of enable connections HOT 1
- New release with OrganizationCreateRequest feature HOT 2
- Support "Get job error details" HOT 2
- AuthManagementApi issue on .Net Framework 4.6.1 after upgrading version of the sdk HOT 15
- IAuthenticationApiClient should implement IDisposable
- Support for Auth0Client in .Net 5.0 and newer HOT 1
- ImportUsersAsync() fails on retry HOT 4
- Missing revoke token endpoint implementaion for authentication api HOT 3
- Implement the Job Error Details endpoint HOT 2
- EmailVerificationTicketRequest is missing ClientId parameter HOT 2
- Please add Grants to Management Client HOT 1
- Client Deserialization Issue HOT 1
- Organization Update: Add Name HOT 1
- Management client missing cross-origin settings for client creation HOT 1
- disable_signup not set when using SDK HOT 7
- Retrieve User.AppMetadata as specific type instead of dynamic HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auth0.net.