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

add trait with multi-column support with tests #65

Merged
merged 14 commits into from
Aug 28, 2020
Merged

add trait with multi-column support with tests #65

merged 14 commits into from
Aug 28, 2020

Conversation

davitbek
Copy link
Contributor

No description provided.

@davitbek
Copy link
Contributor Author

Hi All. Can you review my PR please

@freekmurze
Copy link
Member

Could you add tests that prove that this works + update the readme with an example on how to use this?

trait SchemalessAttributesTrait
{
/**
* Register schemalessAttributes attributes as array(cast).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this comment

src/SchemalessAttributesTrait.php Show resolved Hide resolved
@davitbek
Copy link
Contributor Author

Hi @freekmurze I fixed unit tests, and make your suggested changes. Can you check please?

Copy link
Member

@freekmurze freekmurze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more change needed to simplify things

src/SchemalessAttributesTrait.php Outdated Show resolved Hide resolved
@freekmurze freekmurze merged commit 9f166f2 into spatie:master Aug 28, 2020
@freekmurze
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants