-
Notifications
You must be signed in to change notification settings - Fork 1.5k
API Platform #3267
-
https://api-platform.com/docs/laravel/
Will this work in api platform? or do we need to use mongodb/odm for search
Beta Was this translation helpful? Give feedback.
All reactions
You can use a MongoDB Eloquent Model with API Platform, I did some tests and fixed an issue for that api-platform/core#6658.
But if you hit any problem, please raise an issue.
My mid-term plan is to create a MongoDB package for API platform, that would be agnostic of Eloquent or Doctrine, to unlock the full potential of the database.
Replies: 2 comments 1 reply
-
You can use a MongoDB Eloquent Model with API Platform, I did some tests and fixed an issue for that api-platform/core#6658.
But if you hit any problem, please raise an issue.
My mid-term plan is to create a MongoDB package for API platform, that would be agnostic of Eloquent or Doctrine, to unlock the full potential of the database.
Beta Was this translation helpful? Give feedback.
All reactions
-
One issue for now it that you need to insert at least 1 document in your collection, so that the database schema can be introspected.
Beta Was this translation helpful? Give feedback.
All reactions
-
I'm interested in your feedback if you've tried it?
Beta Was this translation helpful? Give feedback.