You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Thanks for this great tool, it's being very useful!
I need to change the naming convention ('model' and 'model.property') for keys into the generated code, ie. current:
public function rules()
{
return [
'**role**' => 'array|required',
'**role**.name' => 'required|string'
];
}
public function attributes()
{
return [
'**role**.name' => 'the role\'s name'
];
}
ie. desired:
public function rules()
{
return [
'**name**' => 'required|string'
];
}
public function attributes()
{
return [
'**name**' => 'the role\'s name'
];
}
in order to be able to POST/PATCH the properties without the model wrapper but I can't find where are those lines generated. Could you please point me in the right direction?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi! Thanks for this great tool, it's being very useful!
I need to change the naming convention ('model' and 'model.property') for keys into the generated code, ie. current:
ie. desired:
in order to be able to POST/PATCH the properties without the model wrapper but I can't find where are those lines generated. Could you please point me in the right direction?
Thanks!
The text was updated successfully, but these errors were encountered: