Improve handleStruct to use struct's own Unmarshaler if it is available#169
Improve handleStruct to use struct's own Unmarshaler if it is available#169michele wants to merge 2 commits intogoogle:masterfrom
Conversation
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here (e.g. What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
|
I signed it |
|
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
|
Is there anything holding this back from getting merged? Worked for me with a custom struct holding a |
|
@mellena1 we've been using it for the past couple of months in production and it's working fine. Who's got the power to merge this? You can use my fork in the meanwhile. |
|
@michele I started using your fork last night and it’s working great for me so far. Thanks a lot for the work! Hopefully this can be merged in soon. The only other thing I think would be good to add to this PR would be some documentation in the README, but it definitely works intuitively without it. |
|
@shwoodard Hi, could you take a look at this or dispatch it to somebody else with access to this project? |
handleStructwasn't properly handling structs with custom marshaler/unmarshaler.With this PR
handleStructcorrectly handles structs which implement thejson.Unmarshalerinterface.This should fix #164