contentful-management.py icon indicating copy to clipboard operation
contentful-management.py copied to clipboard

Convert environment Links to json in Resource.to_json()

Open MikeFE opened this issue 2 years ago • 1 comments

There appears to be a bug where Entry instances aren't converting the 'environment' sys field Link instance to json when calling to_json().

Hopefully this solution makes sense in general, it fixed the particular issue I was having.

Demonstration here.

MikeFE avatar Aug 23 '23 01:08 MikeFE

Hi @MikeFE, thank you for the contribution. Can you please add a test case for proposed changes?

Cheers

rubydog avatar Oct 11 '23 08:10 rubydog