Api: update the wiki about the transformer

Created on 15 Sep 2017  路  4Comments  路  Source: dingo/api

Hello,
I think adding some word about how to create a transformer (like extending LeagueFractalTransformerAbstract or read https://fractal.thephpleague.com/transformers/ for more information) could be really helpfull and make people win a lot of time

when I see issue like #1219 I'm suppossing I'm not the same to ask this question ;)

Most helpful comment

Yes, but having a bit more information, doesn't cost that much. Saying which class to extends.... Having a little help, make a lot of difference

All 4 comments

I think it says: https://github.com/dingo/api/wiki/Transformers

Fractal

Fractal is the default transformation layer used by the package. It boasts a number of useful features > to help you keep your data consistent.

To use Fractal it's recommend you read through the documentation found on their website.

Yes, but having a bit more information, doesn't cost that much. Saying which class to extends.... Having a little help, make a lot of difference

@Grummfy I agree. nearly 3 years later, encountered the same issue - I'm actually stuck setting up transformers as I'm seeing errors but I've followed the wiki docs. Little bit frustrating.

I'm open to suggestions on things to add, but there's already a lot of info there.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sukh-gill picture sukh-gill  路  3Comments

BartHuis picture BartHuis  路  3Comments

jdforsythe picture jdforsythe  路  3Comments

MicroDroid picture MicroDroid  路  3Comments

nghiepit picture nghiepit  路  4Comments