Skip to content
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

Fix EditorImportPlugin can't have null as default option values #99418

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

timothyqiu
Copy link
Member

Fixes #99267

Currently an option's type is inferred from its default_value. Therefore using null as default value results in a nil-typed option :P

This PR allows passing an optional type field to explicitly specify the option's type in _get_import_options.

Allows passing an optional `type` field to explicitly specify the
option's type in `_get_import_options`.
@timothyqiu timothyqiu added bug topic:editor topic:import cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release labels Nov 19, 2024
@timothyqiu timothyqiu added this to the 4.4 milestone Nov 19, 2024
@timothyqiu timothyqiu requested review from a team as code owners November 19, 2024 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release topic:editor topic:import
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't have a null resource in import defaults of EditorImportPlugin
1 participant