You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 8, 2024. It is now read-only.
Within a mapper, I'm trying to add some additional data derived from my contentful content. However, the field is not required and I get an error: "'empty_field_error': The field 'restrictions' is empty and unavailable in the response'."
In the mapper I tried something like: unless.entry.restrictions.nil? or if.entry.restrictions.present? but I still get the error above.
How can you deal with optional fields in the mapper?
Within a mapper, I'm trying to add some additional data derived from my contentful content. However, the field is not required and I get an error: "'empty_field_error': The field 'restrictions' is empty and unavailable in the response'."
In the mapper I tried something like: unless.entry.restrictions.nil? or if.entry.restrictions.present? but I still get the error above.
How can you deal with optional fields in the mapper?