mirror of
https://github.com/strapi/strapi.git
synced 2025-10-17 19:13:25 +00:00

When ‘oneWay’ relation is created the target model file is also updated with a reference to the relation. This is not required for a oneWay relation since it never will or can be populated from the other way around.
strapi-generate-service
This Strapi generator contains the default files for a service.
This generator can be called with:
$ strapi generate:service serviceName apiName
For example if you want to generate a sendEmail
service for the email
API:
$ strapi generate:service sendEmail email