-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add optional new api routes #504
Conversation
addons/godot_uro/godot_uro.gd
Outdated
@@ -12,6 +12,7 @@ const http_pool_const = preload("./http_pool.gd") | |||
# renewal_token and access_token have moved to GodotUroData. | |||
var cfg: ConfigFile = null | |||
|
|||
var new_api: bool = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
var new_api: bool = false | |
var new_api: bool = false |
Can you try a variable that is more unique so we know what it is a few years from now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, but do we plan to keep this toggle that much?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
feature toggle names last forever
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed to 'use_dev_api'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a problem when we use_dev_api_2?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My idea was to have a permanent, non-versioned flag that enables "in-progress, not-deployed" features that will be merged as default api soon.
you want to imply a version instead, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we could use use_api_v1_1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was thinking a specific permanent flag for each feature, that enables "in-progress, not-deployed" features that will be merged as default api soon.
So like English words without versions but meaning something. I'd accept codewords too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
69bbb6c
to
907b81b
Compare
After some discussion we decided to postpone api breaking changes, so I'm closing this PR. |
Adds 'use_dev_api' toggle in Project Settings to test new uro server