Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove simple export in v1 schema #9

Merged
merged 3 commits into from
Sep 11, 2024

Conversation

mhmd-azeez
Copy link
Contributor

This PR does two things:

  1. It fixes an inconsistency between the schema and xtp-bindgen: description is no longer required on an export
  2. v1 doesn't actually support exports being a string since exports is now an map, not an array

This was causing a bug where none of the other properties were respected if description isn't defined on an export

Copy link
Contributor

@bhelx bhelx left a comment

Choose a reason for hiding this comment

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

Thanks!

@bhelx
Copy link
Contributor

bhelx commented Sep 11, 2024

@mhmd-azeez we should also bump the version in package.json and publish this.

@mhmd-azeez
Copy link
Contributor Author

we should also bump the version in package.json

I always forget to do that!

@mhmd-azeez
Copy link
Contributor Author

I will also update all of the bindgens to use this version

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.

2 participants