Comments (6)
(I did buy the book btw :))
from build-an-api-with-laravel.
Hey @lrvldot
Sorry for the late answer.
Could you elaborate a bit more, do you mean polymorphic relations?
from build-an-api-with-laravel.
Yes exactly, I am asking about polymorphic relations.
Does the code handle this part or do I have to implement it ? :)
from build-an-api-with-laravel.
Unfortunately we're not covering polymorphic relations in the book.
But the way the API is implemented you should in theory be able to use polymorphic relations, or implement these fairly easy, since Laravel is doing the heavy lifting in this part.
from build-an-api-with-laravel.
Thanks for the response. I'll try to do it
from build-an-api-with-laravel.
You're welcome @lrvldot :)
from build-an-api-with-laravel.
Related Issues (8)
- Question regarding Unique Email Users HOT 4
- Unsupported grant type
- Illuminate\Routing\Exceptions\UrlGenerationException Missing required parameters for [Route: books.relationships.authors] [URI: api/v1/books/{book}/relationships/authors]. HOT 3
- Test failing for BooksCollection Resource for the included top-level members HOT 3
- Unique constraint is not working from jsonapi config file HOT 9
- Call to a member function first on null HOT 3
- Configuration files are not serializable HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from build-an-api-with-laravel.