Skip to content

feature/append connection #213

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 3 commits into
base: v2.x
Choose a base branch
from
Open

Conversation

CristianLlanos
Copy link
Member

@CristianLlanos CristianLlanos commented May 9, 2021

  • Added PhpTypeEnum::absentTypeEnum() to support properties with no type such as Eloquent's $table and $connection properties
  • SchemaBlueprint now has the connection name from which it was analyzed. It has also been given SchemaBlueprint::getConnectionName() and SchemaBlueprint::setConnectionName()
  • The AppendConnection key has been added to the reliese.php config file to support appending the $connection property to generated models
  • ClassFormatter::formatProperty() has been updated to account for property without types
  • The ModelGeneratorConfiguration constructor now handles default values when possible
  • Behat and PhpUnit tests have been updated to support appending the $connection property to Eloquent models

@CristianLlanos CristianLlanos changed the title Feature/append connection feature/append connection May 9, 2021
@CristianLlanos CristianLlanos requested a review from AdamLenda May 9, 2021 03:52
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants