Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add alternative syntax for relationship class #16

Open
robsontenorio opened this issue Mar 6, 2020 · 1 comment
Open

[Feature] Add alternative syntax for relationship class #16

robsontenorio opened this issue Mar 6, 2020 · 1 comment
Milestone

Comments

@robsontenorio
Copy link

Currently:

  • As string: 'App\Post' (default)
  • As class with full namespace: App\Post::class,

Add:

  • Class with import: Post::class (and this would add a ralated import on model file)

Captura de tela de 2020-03-06 19 07 39

@mtolhuys
Copy link
Owner

mtolhuys commented Mar 6, 2020

On my to-do list.

@mtolhuys mtolhuys added this to the V1.0.0 milestone Mar 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants