-
Notifications
You must be signed in to change notification settings - Fork 19
wit apis #335
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
wit apis #335
Conversation
Extremely exciting |
Conflicts: Cargo.lock kinode/Cargo.toml kinode/packages/homepage/homepage/src/lib.rs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
going to look closer at app store API change, some initial notes
lib/src/core.rs
Outdated
pub license: Option<String>, | ||
pub screenshots: Option<Vec<String>>, | ||
pub wit_version: Option<(u32, u32, u32)>, | ||
pub dependencies: Vec<String>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's make this an Option<Vec<String>>
and please add the description of this field to the docstring for this type
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the purpose of having it be an Option
when an empty vector accomplishes the same thing? JSON parsing optional field?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed in 3194b03
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, if we want this to be backwards-compatible, need to parse successfully when the field doesn't exist in JSON
Problem
We want to be able to publish APIs as WIT files.
Solution
TODO
Docs Update
hyperware-ai/hyperware-book#198
Notes
Sister PR