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

Make it clear that DomainClientFactory must be set #301

Conversation

Daniel-Svensson
Copy link
Member

@Daniel-Svensson Daniel-Svensson commented Sep 10, 2021

Throw a descriptive exception if DomainClientFactory is not set instead of trying to fallback to creating something which does not work.

  • Remove fallback to create DefaultDomainClientFactory or WebDomainClientFactory (it did not work for any platform except silverlight since base address must be specified anyhow)
  • Remove unused resource strings

Fixes #283

* Remove fallback to create DefaultDomainClientFactory or WebDomainClientFactory (it did not work for any platform except silverlight since base address must be specified anyhow)
* Remove unused resource strings
@Daniel-Svensson Daniel-Svensson added this to the 5.0.1 milestone Sep 10, 2021
@Daniel-Svensson Daniel-Svensson enabled auto-merge (squash) September 10, 2021 06:33
@lgtm-com
Copy link
Contributor

lgtm-com bot commented Sep 10, 2021

This pull request introduces 1 alert when merging ba24629 into 983ca23 - view on LGTM.com

new alerts:

  • 1 for Dereferenced variable may be null

@sonarcloud
Copy link

sonarcloud bot commented Sep 10, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@Daniel-Svensson Daniel-Svensson merged commit dc26416 into OpenRIAServices:main Sep 10, 2021
@Daniel-Svensson Daniel-Svensson deleted the remove_default_domainclientfactory branch September 10, 2021 06:44
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.

5.0 DomainContext.DomainClientFactory must be set to create DomainContext
1 participant