Skip to content

Adding default factory to message type#46

Open
jacantwell wants to merge 2 commits into
mainfrom
jasper-message_datetime_default
Open

Adding default factory to message type#46
jacantwell wants to merge 2 commits into
mainfrom
jasper-message_datetime_default

Conversation

@jacantwell

@jacantwell jacantwell commented Mar 26, 2025

Copy link
Copy Markdown
Contributor

This may be a bad idea so doesnt need to go in. Sometimes its annoying always have to pass a datetime when creating a message; this sets the fault value for message to the time at creation of the instance.

@cariad

cariad commented Mar 26, 2025

Copy link
Copy Markdown
Contributor

I personally don't mind when a class has required arguments. I'm not hungry for this change, so I'll leave it for someone else to approve.

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