Added fetching from raw fields.#26
Conversation
The FieldDataFetcher will fetch data directly from raw fields. It can be enabled by calling the "fetchField()" method on the field definition builder.
|
Thanks a lot for your PR and especially adding also a test! What I'm not so sure about is the What do you think? Thanks |
|
Yeah, the builder methods aren't necessary. However, I liked the way you don't have to specify the name of the property twice. It removes a failure possibility. |
|
Yes, you are right. Not having to specify the name twice is a good thing. I will merge this now. But probably I will change it to something more generic like your suggested "DataFetcherStrategy" field to make it more stable for other DataFetchers in the future. Thanks again, |
Added fetching from raw fields.
The FieldDataFetcher will fetch data directly from raw fields.
It can be enabled by calling the "fetchField()" method on the field definition builder.