We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using "breeze-client" with "OData" adapter & "data.js" in an Angular app, it throws the following exception:
Unable to initialize OData. Needed to support remote OData services
The issue is related with global object being empty, which is used in \breeze-client\breeze.debug.js file, __requireLibCore function:
global
\breeze-client\breeze.debug.js
__requireLibCore
Line 424: var window = global.window;
Since window variable itself is already available in that context, commenting out this line solves the problem.
window
I have created a small application as a demo: https://github.com/forCrowd/Labs-AngularCLI-BreezeJS
To see the error, you can remove the following line in app.module.ts:
app.module.ts
Line 5: import "./breeze-client-odata-fix";
The text was updated successfully, but these errors were encountered:
Is this still a problem with breeze-client 2.x?
Sorry, something went wrong.
No branches or pull requests
When using "breeze-client" with "OData" adapter & "data.js" in an Angular app, it throws the following exception:
The issue is related with
global
object being empty, which is used in\breeze-client\breeze.debug.js
file,__requireLibCore
function:Since
window
variable itself is already available in that context, commenting out this line solves the problem.I have created a small application as a demo:
https://github.com/forCrowd/Labs-AngularCLI-BreezeJS
To see the error, you can remove the following line in
app.module.ts
:The text was updated successfully, but these errors were encountered: