Skip to content

fix(docs): render nested objects in payloads and responses#29

Open
p-fernandez wants to merge 1 commit intomainfrom
fix-render-nested-objects
Open

fix(docs): render nested objects in payloads and responses#29
p-fernandez wants to merge 1 commit intomainfrom
fix-render-nested-objects

Conversation

@p-fernandez
Copy link
Contributor

Render nested objects in payloads and responses and tidy up code.
Not fully rendering the objects in the payloads are causing confusion in our users that read the documentation and the API docs. This should help them.
Unfortunately has been very hard to keep proper alignment in the rendering of the template literals. 🙁

BEFORE
Screenshot 2023-02-01 at 04 42 43

AFTER
Screenshot 2023-02-01 at 04 42 05

@p-fernandez p-fernandez self-assigned this Feb 1, 2023
@netlify
Copy link

netlify bot commented Feb 1, 2023

Deploy Preview for novu-api-docs failed.

Name Link
🔨 Latest commit 9d2155d
🔍 Latest deploy log https://app.netlify.com/sites/novu-api-docs/deploys/63d9ef0f95b06a0009708385


await novu.subscribers.updatePreference(user.id, templateId, {
channel: {
type: 'fcm',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This channel doesn't exist.

@p-fernandez p-fernandez force-pushed the fix-render-nested-objects branch from c9f0c5b to 9d2155d Compare February 1, 2023 04:48
@gatsby-cloud
Copy link

gatsby-cloud bot commented Feb 1, 2023

✅ api-docs deploy preview ready

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant