Adds section_note and chapter_note attributes to the section and chapter nodes from the response of the commodity show endpoint.
This change is necessary for the updates made in the frontend app.
Notes
I would like these new nodes to avoid the verbosity of having the parent relations in the name.. for example note instead of section_note since is already a child node of section but the frontend code already defined these name, so in order to keep it simple I choose to just use the same names.
What this PR does:
Adds
section_note
andchapter_note
attributes to the section and chapter nodes from the response of the commodity show endpoint.This change is necessary for the updates made in the frontend app.
Notes
I would like these new nodes to avoid the verbosity of having the parent relations in the name.. for example
note
instead ofsection_note
since is already a child node ofsection
but the frontend code already defined these name, so in order to keep it simple I choose to just use the same names.