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 has been 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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: