You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do we have any plans to add a column for required vs optional attributes on our API signatures? https://docs.momentohq.com/cache/develop/api-reference. In some APIs I see we wrap an Optional word around the Type itself, but in some places we don't (ttl is optional as we default to cacheDefaultTTL).
I am particularly asking this as while writing certain examples or other stuff, I often referred to this documentation. But i couldn't figure out properly so resorted to my IDE to check if ? is present on TS, or Optional is present on Java. Usually I believe developers do read the API reference to figure such stuff.
The text was updated successfully, but these errors were encountered:
yea I agree. I think a dedicated column is good idea. I think if want to start that pattern
then can make ticket to try and swarm on all them.
Feel free cut over as many as you want to target state pattern though if your in there and easy change.
Do we have any plans to add a column for required vs optional attributes on our API signatures? https://docs.momentohq.com/cache/develop/api-reference. In some APIs I see we wrap an
Optional
word around the Type itself, but in some places we don't (ttl is optional as we default to cacheDefaultTTL).I am particularly asking this as while writing certain examples or other stuff, I often referred to this documentation. But i couldn't figure out properly so resorted to my IDE to check if ? is present on TS, or Optional is present on Java. Usually I believe developers do read the API reference to figure such stuff.
The text was updated successfully, but these errors were encountered: