Skip to content

Conversation

@chris-martin
Copy link
Contributor

@chris-martin chris-martin commented Nov 6, 2017

Hello, would you mind accepting this monomorphic alternative to def for the base SetCookie value? I don't think the Default class is really helpful for most use cases here, so it would be nice for the library to provide this value more directly in non-overloaded form.

I also added a bit of documentation explaining what field values defaultSetCookie contains.

@snoyberg
Copy link
Owner

snoyberg commented Nov 6, 2017

Looks good, thanks! Can you add @since comments, update the version in the cabal file, and update the changelog?

@chris-martin
Copy link
Contributor Author

Cool, done.

cookie.cabal Outdated
@@ -1,5 +1,5 @@
name: cookie
version: 0.4.2.1
version: 0.4.2.2
Copy link
Owner

Choose a reason for hiding this comment

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

Sorry, I should have clarified. Since this is adding a new identifier, this needs to be a minor version bump, not a patch. Meaning: the new version number would be 0.4.3.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah yes sorry, I misread the PVP spec. Updated.

@snoyberg snoyberg merged commit 93c73b0 into snoyberg:master Nov 7, 2017
@snoyberg
Copy link
Owner

snoyberg commented Nov 7, 2017

Thanks!

@chris-martin chris-martin deleted the pr/def branch November 7, 2017 17:05
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