slack-samples / deno-reverse-string

Post a reversed version of a string in a selected channel
MIT License
11 stars 13 forks source link

Move the required field beneath properties #24

Closed shapirone closed 2 years ago

shapirone commented 2 years ago

Summary

Moving the required field beneath the properties

Details

There was confusion about a TS error around a required field that wasn't actually a parameter yet. We haven't figured out the right way to give specific error messaging for this kind of situation with our types, but it makes more sense to define the properties that are available before we say which are required.

Convo: https://slack-pde.slack.com/archives/C03BS52QLPJ/p1649958372816539