Comments (3)
You are right. This example is missing the author
field.
At the moment, to provide flexibility, Blueprint does not validate the dot notation, it is simply converted to arrow notation.
from blueprint.
Yes. I think a little convention here would nice to distinguish which should be created. I'll add this to the list of tweaks post v1.
from blueprint.
Sorry for offtopic but where does it get the .author
part?
I see that it sends a notification to the post's author but there are no author_id
column in the posts model.
What am I missing here?
from blueprint.
Related Issues (20)
- Change generator methods visibility from "private" to "protected" HOT 2
- belongsToMany Foreign UUID not working. HOT 18
- Add in already on going project HOT 4
- Plural route naming convention as default to match Laravel docs HOT 1
- HasMany function generation: function name has full namespaced model name instead of only model name HOT 2
- Pluralization oddity HOT 5
- [Internal] Improve "Demo" Workflow
- request to add indexes example on the docs HOT 1
- Laravel 11 Compatibility HOT 4
- Wrong faker for string column type with max chars HOT 1
- Table name set via meta is not honoured by foreign keys HOT 1
- Explicit foreign not explicit HOT 13
- Split Laravel blueprint and project codebase -> declarative programming HOT 1
- Need to create service file using custom stubs.
- Generate model relations
- Renaming relationship for belongsToMany
- Renaming relationship for belongsToMany HOT 2
- Incorrect faker provider generated from column defined as "name: enum"
- Indicate where the problem in the YAML file is HOT 1
- Migration creates 2 columns when related model name contains number HOT 1
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 blueprint.