Skip to content

Support async command validate() - #977

Open
cb1kenobi wants to merge 1 commit into
mainfrom
async-validate-support
Open

Support async command validate()#977
cb1kenobi wants to merge 1 commit into
mainfrom
async-validate-support

Conversation

@cb1kenobi

@cb1kenobi cb1kenobi commented Aug 21, 2026

Copy link
Copy Markdown
Member

It's time to support async validate() in commands. Currently, validate() returns a function that gets called with a callback. This was because I didn't have the foresight 15 years ago to make it async until it was too late.

Anyways, the CLI rewrite unlocked async/await and this should have been done a while ago.

Tested:

  • Create app project
    • ti create --sdk 13.4.0.GA
    • ti create --sdk 14.0.0 (main)
  • Clean app project (both 13.4.0.GA and 14.0.0 apps)
    • ti clean
  • Build app project (both 13.4.0.GA and 14.0.0 apps)
    • ti build -p android --build-only
    • ti build -p ios --build-only
  • Get app project details (both 13.4.0.GA and 14.0.0)
    • ti project
  • Create module project
    • ti create --sdk 13.4.0.GA --type module
    • ti create --sdk 14.0.0 --type module (main)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant