fermyon / spin

Spin is the open source developer tool for building and running serverless applications powered by WebAssembly.
https://developer.fermyon.com/spin
Apache License 2.0
5.47k stars 255 forks source link

manifest: fix serialization of component dependency section #2842

Closed karthik2804 closed 1 month ago

karthik2804 commented 1 month ago

This PR fixes the serialization of the AppManifest in regards to the component dependencies section. Previously using try_from meant that during serialization, the dependencies section had an extra nested inner field, leading to an invalid manifest where spin up will error out due to an unknown inner field.