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

Allow attribute options to accept callable values #132

Merged
merged 2 commits into from
Oct 23, 2023

Conversation

aglushkov
Copy link
Owner

#102

  • Allow to provide callable/lambdas objects with 1-2 args as attribute
    :value object
  • Allow to provide callable/lambdas with 1 arg as formatters
  • Allow to provide callable/lambdas with 0-2 args as :if plugin options
  • Allow to provide callable/lambdas with 1-3 args as :batch plugin options
  • Attribute :value option now require to have at least 1 argument
  • Attribute batch :loader option now requires to have at least 1 argument
  • Attribute :format option and associated configurated formatter
    (from formatters plugin) must have 1 argument

… arguments

#102

- Allow to provide callable/lambdas objects with 1-2 args as attribute
  :value object
- Allow to provide callable/lambdas with 1 arg as formatters
- Allow to provide callable/lambdas with 0-2 args as :if plugin options
- Allow to provide callable/lambdas with 1-3 args as :batch plugin options
- Attribute :value option now require to have at least 1 argument
- Attribute batch :loader option now requires to have at least 1 argument
- Attribute :format option and associated configurated formatter
  (from formatters plugin) must have 1 argument
@aglushkov aglushkov merged commit 0e93b03 into master Oct 23, 2023
26 checks passed
@aglushkov aglushkov deleted the allow_callable_values branch October 23, 2023 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant