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

[#16] Allow dynamic setting of label length (^LL) #17

Merged
merged 1 commit into from
Sep 3, 2024
Merged

Conversation

itsmattking
Copy link
Collaborator

Adds LazyCommand to support delayed evaluation of a command until build is called.

Also add labelLength overload function that accepts a lambda.

Adds `LazyCommand` to support delayed evaluation of a command
until `build` is called.

Also add `labelLength` overload function that accepts a lambda.
@itsmattking itsmattking requested a review from jbduncan September 3, 2024 08:17
@itsmattking itsmattking merged commit b70d41d into main Sep 3, 2024
2 checks passed
@itsmattking itsmattking deleted the issue16 branch September 3, 2024 08:24
@@ -2,6 +2,7 @@

package com.sainsburys.k2zpl.builder

import LazyCommand
Copy link

@jbduncan jbduncan Sep 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm struck how here we're able to import it as import LazyCommand, but with other types we need to use import com.sainsburys.kzpl....

And indeed, I see the package declaration is missing in LazyCommand.kt! 🙈

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, i was hasty in the merge I should have waited! I'll fix that right quick 👍

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.

2 participants