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

Use Type::Tiny based types in most cases #1341

Merged
merged 5 commits into from
Feb 2, 2025
Merged

Use Type::Tiny based types in most cases #1341

merged 5 commits into from
Feb 2, 2025

Conversation

haarg
Copy link
Member

@haarg haarg commented Jan 29, 2025

The types in the document classes are not changed, as they should be going away soon.

@haarg haarg force-pushed the haarg/type-tiny branch 2 times, most recently from 67fa81d to 8d60a57 Compare January 29, 2025 05:49
mickeyn
mickeyn previously approved these changes Jan 29, 2025
mickeyn
mickeyn previously approved these changes Jan 29, 2025
@haarg haarg force-pushed the haarg/type-tiny branch 5 times, most recently from a3ae2ab to 6e4e1d7 Compare February 1, 2025 16:05
haarg added 5 commits February 2, 2025 11:44
Log::Contextual requires a logger to be configured. The scripts confgure
one, but anything outside the scripts may not have one configured.
Log::Contextual::Easy::Default provides a default logger that warns if a
real logger isn't configured. This can allow the module to be used
outside the scripts without errors.
MooseX::Getopt is used in our scripts, and we need to tell it about some
of the types we use. But that is only needed in the scripts. Rather than
setting it up in the type module, we can set it up in the role that is
used in every script. This means it won't be loaded in the web app.
@haarg haarg merged commit 82201c6 into master Feb 2, 2025
1 check passed
@haarg haarg deleted the haarg/type-tiny branch February 2, 2025 15:06
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