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

data-transfer-object is abandoned #18

Open
andrenunes01 opened this issue Nov 10, 2022 · 4 comments
Open

data-transfer-object is abandoned #18

andrenunes01 opened this issue Nov 10, 2022 · 4 comments

Comments

@andrenunes01
Copy link

Message in composer: package spatie/data-transfer-object is abandoned, you should avoid using it. Use spatie/laravel-data instead.

Do you intend to do this migration of packages?

@jessarcher
Copy link
Owner

spatie/laravel-data is already Eloquent castable so I don't think it makes sense to migrate this package.

@andrenunes01
Copy link
Author

Thank you for your help. I'll take a look at the documentation.

@jessarcher jessarcher pinned this issue Feb 1, 2023
@Promter
Copy link

Promter commented Mar 29, 2023

Hi @jessarcher, congratulations on your work, you are outstanding on the web.

I still don't understand why it doesn't make sense to migrate to a package that is not deprecated.
But I wanted to see if you could update your article to Laravel 10, perhaps using an example from spatie/laravel-data, as your article is very well positioned in Google and is a reference on how to do things.
Regards

@jessarcher
Copy link
Owner

Hi @Promter, thanks for your kind words!

In my mind, it doesn't make sense to migrate this package to Spatie's Laravel Data package because it is already castable out of the box, making the features of this package redundant.

This package is now just for those not ready to migrate yet.

That's a very good point about my article. I have added a note to the section on Spatie's DTO package referring people to Laravel Data instead. If I get time, I'll update it more thoroughly.

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

3 participants