Possible typo In README File
Opened this issue · 5 comments
Checking how to create nested DTO mappings, I came across the section in the README file Dealing with nested Mappings
. I was confused for some time with the line that reads
$config->createMapping(Child::class, ChildDto::class);
As far as I am aware, there doesn't seem to be a method name createMapping
, but rather registerMapping
. Everywhere else in the README file has the method registerMapping
, so I tried that in my code and it works great.
I know it's small thing, but if it could be fixed, then hopefully it'll cause less confusion for people reading the docs for the library xD
Good catch! If you're willing to open up a PR, I'll be happy to merge it. Otherwise I'll take a look at it myself.
@mark-gerarts I will do that. How do I go about creating a PR since I'm not a collaborator on this repo? I just get a 403 forbidden when I try to push to a separate branch.
@mark-gerarts created a PR #77
Great, I merged it. Thank you for contributing!