Skip to content
This repository has been archived by the owner on Jun 18, 2023. It is now read-only.

fix: Display type of element in array #34

Merged
merged 1 commit into from
Nov 21, 2022

Conversation

timonback
Copy link
Member

This is a very basic fix to display arrays - when the property is on the first level of the object.

In general, we should start looking for displaying more complex objects at all/better, which contain

  • arrays of objects
  • nested objects
  • other types?
    But that is another task outside of the PR.

Closes #31

@netlify
Copy link

netlify bot commented Nov 20, 2022

Deploy Preview for mellow-manatee-3041fb ready!

Name Link
🔨 Latest commit de86b58
🔍 Latest deploy log https://app.netlify.com/sites/mellow-manatee-3041fb/deploys/637a97990b0f4e0009caec82
😎 Deploy Preview https://deploy-preview-34--mellow-manatee-3041fb.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@stavshamir
Copy link
Member

Thanks.
I feel like displaying schema should be a solved issue, maybe we can find a library that already implements this instead of doing it ourselves.

@stavshamir stavshamir merged commit 18cf2fd into springwolf:master Nov 21, 2022
@timonback timonback deleted the fix/render-arrays-in-schema branch March 12, 2023 20:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

type of element in arrays
2 participants