Repository navigation
Leave out the macros Access makes for itself from macros of jetdb-wasm by default - #81
Merged
Merged
Conversation
…m by default
- macros always included the macros Access makes for itself and names with ~, such as the ~TMPCLPMacro the macro designer makes on copy and paste, while tables and queries leave out the system and hidden ones by default
- macros now leaves them out, and includes them with { system: true }; as the catalog does not mark them, they are told by their names, as the library documents
- Add the TypeScript type MacrosOptions, and tests
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
macros()always included the macros Access makes for itself and names with~, such as the~TMPCLPMacrothe macro designer makes on copy and paste.tables()andqueries()leave out the system and hidden objects by default and include them with{ system: true }.macros()now leaves these macros out by default, and includes them with{ system: true }. Access does not mark them in the catalog (their flags are 0 in every test database that has one), so they are told by their names, as the library's documentation ofMacroEntryasks callers to do.jetdb macro liststill lists every macro, asjetdb queries listlists every query.MacrosOptions, and tests check the default, the option, and a non-boolean option.🤖 Generated with Claude Code