-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve hooks and allow to delete/check specific priority (#133)
* Improve hooks and allow to delete/check specific priority * Fix tests * Introduce indexes hooks
- Loading branch information
Showing
4 changed files
with
108 additions
and
61 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
3615739
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any background for removing the flexibility of $args and setting it firmly as array?
3615739
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@georgehristov Yes, we want to enforce one canonical form of usage where appropriate for more type checking and to prevent misuses - I have analysed this deeply using AST of
atk4/core
,atk4/data
andatk4/ui
packages - and the only of non-array arguments I found wasnull
when the additional arg - priority was set. This is very bad if[]
means the same and it makes more sense - zero args.