Skip to content

[3.x] Allow calling createInertiaApp() without arguments#2883

Merged
pascalbaljet merged 4 commits into
3.xfrom
allow-create-inertia-app-without-object
Feb 11, 2026
Merged

[3.x] Allow calling createInertiaApp() without arguments#2883
pascalbaljet merged 4 commits into
3.xfrom
allow-create-inertia-app-without-object

Conversation

@pascalbaljet
Copy link
Copy Markdown
Member

createInertiaApp({}) was allowed (empty object), but createInertiaApp() without any argument gave a TypeScript error. This makes the parameter optional across all three adapters.

@pascalbaljet pascalbaljet added the next major release We need to consider this for the next major release, perhaps because of a breaking change label Feb 11, 2026
@pascalbaljet pascalbaljet merged commit 5206b12 into 3.x Feb 11, 2026
@pascalbaljet pascalbaljet deleted the allow-create-inertia-app-without-object branch February 11, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

next major release We need to consider this for the next major release, perhaps because of a breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant