-
Notifications
You must be signed in to change notification settings - Fork 12
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
updated to use the new DataverseClient and targeting .net standard 2.0 #52
base: master
Are you sure you want to change the base?
Conversation
Pfe with Dataverse Client v9.2 targetting .netstandard 2.0
this should be no longer needed though, as Dataverse Client has been ported over to use MSAL instead.
added file check for IdentityModel.
@seanmcne , please review and merge and publish the nuget package. |
@seanmcne , any thoughts? |
@mohsinonxrm were you able to verify all the tests work? I also have a dataverse compatible build of this but i haven't pushed it to github yet (originally I was waiting for some changes to land). One other thing I had done was copied the previous v9 version into a 9.2 folder, committed that, then did my updates so I can get history - leaves me somewhat regretting the version specific folder structure :) |
@seanmcne , I can't remember about the test results. I'll run them again and update here. Anyway, I'll review the test and update here with the results. |
I'm curious how you're finding faults to work - I've been running some fault exception tests which aren't working quite right (due to the usage of OrganizationServiceFaults before). I'm still digging in on this - I suspect it will have to be shifted over to DataverseOperationException i'll do some picking away at what I've got here and see if I can get it wired up well enough to function. |
As far as I can tell, exceptions are working fine. I am getting exceptions back from the Execute method in the handler, I will test more however, what are you running into? |
@seanmcne , can you push your new branch as well? I'd like to review your test cases |
Give this test a try - this should produce a DataverseOperationException which was not handled when I ran the test on my end - I adjusted everything to handle both faultExceptions and DataverseOperationException's which appears to work.
|
@seanmcne , you're right. It fails the test. DataverseOperationException is of course new. How would you like to proceed with this PR? do you want to merge this and add your changes/fixes? OR you can paste your catch block here and I can add it to the PR. |
cloned useWebApi as well, need to set it to false for now to handle exceptions properly
@seanmcne - any update on releasing the version compatible with the .net core sdk. Thanks. |
No description provided.