Integration with Keystone
See original GitHub issueI’m doing:
Post.paginate({
page: req.query.page || 1,
perPage: 50,
maxPages: 10
}).populate('comments','author content date')
.deepPopulate('author.name')
and i included the plugin like so:
var deepPopulate = require('mongoose-deep-populate');
Post.schema.plugin(deepPopulate);
Post.register();
But i still get the error:
TypeError: undefined is not a function
Anyone got it working with keystone?
Issue Analytics
- State:
- Created 8 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Integration | Keystone Business Services
Our most highly sought after solution integrates Salesforce and NetSuite into a seamless and fully cloud-based lead to cash management system. Our custom ......
Read more >Chapter 1. Integrating OpenStack Identity (keystone) with ...
You can integrate OpenStack Identity (keystone) with Microsoft Active Directory Domain Service (AD DS). Identity Service authenticates certain Active ...
Read more >Tutorial: Azure AD SSO integration with Keystone
In this tutorial, you'll learn how to integrate Keystone with Azure Active Directory (Azure AD). When you integrate Keystone with Azure AD, ...
Read more >Keystone Integration — SwiftStack Documentation
This guide provides and overview of the steps necessary to properly prepare your Keystone setup for integration with your SwiftStack environment.
Read more >Integrating with OpenStack Keystone - Ceph Documentation
It is possible to integrate the Ceph Object Gateway with Keystone, the OpenStack identity service. This sets up the gateway to accept Keystone...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Modify the readme and create a pr?.
From: razb [mailto:notifications@github.com] Sent: Friday, 12 June 2015 8:54 AM To: buunguyen/mongoose-deep-populate Cc: AndrewFinlay Subject: Re: [mongoose-deep-populate] Integration with Keystone (#18)
I must still be missing something. I 've verified that both the keystone and mongoose-deep-populate package.json files refrence the same mongoose version:
“peerDependencies”: { “mongoose”: “~3.8.24” },
and have verified that the plugin is registered as a method for the schema:
{ deepPopulate: [Function], getRelated: [Function], populateRelated: [Function], getUpdateHandler: [Function] }
Yet I still get:
TypeError: undefined is not a function
Any suggestions?
— Reply to this email directly or view it on GitHub https://github.com/buunguyen/mongoose-deep-populate/issues/18#issuecomment-111298745 . https://github.com/notifications/beacon/ADhW3s1TWdK-LBVPhYs3X5QkWe5doFmAks5oSgjsgaJpZM4ET2PP.gif
@buunguyen I’m a bit unclear, have you gotten this working? It’s not working for me using the methods described above.