Joe Lipper
Joe Lipper
I'm happy to create a PR to update [this `next` condition](https://github.com/contentful/contentful-management.rb/blob/8d15747cd5cc913a5444597e470921a2481b1feb/lib/contentful/management/resource_builder.rb#L217) to also skip `"metadata"` but I'm not sure if you want to actually support the resource more fully.
@dlitvakb hey, thanks for merging that PR. However, it looks like you didn't really address this part of my issue: >I'm afraid that it's a name conflict between metadata (the...
@dlitvakb Can you elaborate on the "inconsistent states" more? I'm trying to reduce the number of API calls I need to make via the management API because it's so heavily...
It seems like based on the examples in [your](https://github.com/contentful/contentful-management.rb#entries) [documentation](https://www.contentful.com/developers/docs/references/content-management-api/#/reference/entries/entry/create-update-an-entry/console/ruby), that the minimum number of API calls to duplicate an entry would be 4: - 1 to retrieve the source...
Interesting, so as long as the object passed to `content_type` responds to `id` it works just fine?
After trying this myself, it looks like this: ```ruby new_entry = client.entries(space_id, environment_id).create( content_type: ContentTypeIdWrapper.new(content_type_id), # ... all the fields from the old entry you want to duplicate here ......