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

Which references to use for OData #155

Open
morious opened this issue Jul 1, 2016 · 1 comment
Open

Which references to use for OData #155

morious opened this issue Jul 1, 2016 · 1 comment

Comments

@morious
Copy link

morious commented Jul 1, 2016

Hi,
I am trying to use the following references to create an OData client:

<script src="node_modules/breeze-client/build/adapters/breeze.dataService.odata.js"></script>
 <script src="node_modules/breeze-client/build/breeze.debug.js"></script>

When i do so i get the following error:
breeze.debug.js:410 Uncaught Error: Unable to initialize OData. Needed to support remote OData services

What minimum references are required for an OData client?

Thx!

@steveschmitt
Copy link
Member

You need to include the datajs library before breeze. It's available on npm.

You don't need to include breeze.dataService.odata.js separately from breeze.debug.js; it's already included.

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

No branches or pull requests

2 participants