sanic-org / sanic-routing

Internal handler routing for Sanic beginning with v21.3.

Home Page:https://sanicframework.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecate string

ahopkins opened this issue · comments

The string parameter type is somewhat confusing since we also have int. Often people new to Sanic will think it should be str.

I propose that it becomes deprecated, we add it as an alias to str for some period of time, and then remove it prior to the 21.12 Sanic LTS.

@sanic-org/framework thoughts?