Adding custom attributes to Spree::Api::ApiHelpers in the initializer doesn't seem to work. #3956
-
I have an issue with adding custom attributes as return values in api get requests. I followed the edge documentation and added I can add strong parameters in the same way through I don’t know where else to look and would need help. I saw two other users in Slack forum raised the issue a while ago and hope anyone may have an answer. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
Hey there 👋, what is |
Beta Was this translation helpful? Give feedback.
-
I've opened this issue #4027, hope someone can help us fix it. |
Beta Was this translation helpful? Give feedback.
Hey there 👋, what is
custom
inSpree::Api::ApiHelpers.<custom>_attributes
? I mean, is this for some custom model you created in your store or for something already present in Solidus core?