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
I have got a feeling that I'm missing something very basic here, please pardon me.
I have a very basic CTF model with some string attributes, some of which are not required, i.e. empty.
With return_nil_for_empty I can have their values be coerced to nil, but as it seems there's no way of setting them? I get NoMethodErrors for every attr_writer to a non-required field that is blank, hence not returned by the contentful API.
The text was updated successfully, but these errors were encountered:
I'll add an issue to our backlog to forward this functionality to the contentful_model entry wrapper, so that you don't need to directly interact with the underlying management object, but cannot promise exactly when this would be completed.
I have got a feeling that I'm missing something very basic here, please pardon me.
I have a very basic CTF model with some string attributes, some of which are not required, i.e. empty.
With
return_nil_for_empty
I can have their values be coerced tonil
, but as it seems there's no way of setting them? I getNoMethodError
s for everyattr_writer
to a non-required field that is blank, hence not returned by the contentful API.The text was updated successfully, but these errors were encountered: