Vote #79263
完了JSON API responses cannot have elements named 'request' or 'response'
0%
説明
I stumbled upon this while creating a Plugin with an API.
The problem is that @Builders::Structure@ declares @attr_accessor :request, :response@. As a consequence, these get called instead of @Structure#method_missing@ when doing @api.request@ or @api.response@ in a @.rsb@ template.
This patch adds a test illustrating the problem and replaces the accessors with direct instance variable usage.
journals
--------------------------------------------------------------------------------
Setting target version to 4.1.0.
--------------------------------------------------------------------------------
Committed. Thank you for your contribution.
--------------------------------------------------------------------------------