superfaceai / station

Comlink metadata for self-integrating applications.
https://superface.ai/catalog
MIT License
22 stars 5 forks source link

fix(social-media/publish-post): Allow null fields #373

Closed jnv closed 1 year ago

jnv commented 1 year ago

Description

This changes string! input fields to string to allow null values for all parameters.

Bumped patch version since this is fully backward compatible change.

Motivation and Context

OneService interprets field! as required, which means we need to pass an empty string even for optional values.

Other social-media profiles don't use this type, so this is aligning the interface.

Types of changes

Checklist: