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

AceDB-3.0: Respect falsy ["*"] defaults #10

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

Conversation

Anonomit
Copy link

@Anonomit Anonomit commented Nov 4, 2023

Setting ["*"] = false in an options table currently does nothing, since the option will still appear to be nil when accessed.

This change makes it easier to notice incorrect db references, since a return value of nil will only happen when a default value has actually not been set.

Setting '["*"] = false' in an options table currently does nothing, since the option will still appear to be nil when accessed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant