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

Registration config for libraries are not respected in user projects #677

Open
chippmann opened this issue Aug 31, 2024 · 0 comments · May be fixed by #738
Open

Registration config for libraries are not respected in user projects #677

chippmann opened this issue Aug 31, 2024 · 0 comments · May be fixed by #738
Assignees
Labels
bug Something isn't working topic:entry-gen

Comments

@chippmann
Copy link
Contributor

Follow up issue of #658

If a library uses fqdn registration and defines a custom resource like:

package godot.tests.library.fqname

@RegisterClass
class CustomResource: Resource()

it's FQDN registration is: godot_tests_library_fqname_CustomResource.

But when used in a project which does not use FQDN registration and exported as a property:

@Export
@RegisterProperty
var wrongTypeHint = CustomResource()

it's type hint becomes CustomResource rather than godot_tests_library_fqname_CustomResource

This is true both ways.

@chippmann chippmann added bug Something isn't working topic:entry-gen labels Aug 31, 2024
@chippmann chippmann self-assigned this Aug 31, 2024
@chippmann chippmann linked a pull request Nov 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working topic:entry-gen
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant