Skip to content

Fix Issue #59#74

Closed
Woody88 wants to merge 10 commits into
fizruk:masterfrom
Woody88:issue-59
Closed

Fix Issue #59#74
Woody88 wants to merge 10 commits into
fizruk:masterfrom
Woody88:issue-59

Conversation

@Woody88

@Woody88 Woody88 commented Mar 16, 2018

Copy link
Copy Markdown

Hi guys,

I have added the instances for SetCookie related to issue #59. Please let me know if anything needs adjusting.

Will be waiting for your feedback. Thanks!

Woodson Delhia and others added 7 commits March 14, 2018 19:39
Comment thread src/Web/Internal/HttpApiData.hs Outdated
toUrlPiece (Right x) = "right " <> toUrlPiece x

-- |
-- >>> Right c = parseUrlPiece "PHPSESSID=r2t5uvjq435r4q7ib3vtdjq120" :: Either Text SetCookie

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

let

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

and please, something else than PHPSESSID :)

Comment thread stack.yaml Outdated
- attoparsec-iso8601-1.0.0.0
extra-package-dbs: []
- cabal-doctest-1.0.6
extra-package-dbs: [] No newline at end of file

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

rather updated a resolver to lts-11.0

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I had originally done that but I wasn't too sure of the impact it would have so I opt to just add it to the extra-deps. So, I'm pretty much not too about the difference between adding the dependencies in extra-deps and updating using the resolver.

Comment thread http-api-data.cabal Outdated
, uri-bytestring >= 0.1.7 && < 0.4
, uuid-types >= 1.0.2 && <1.1
, uuid-types >= 1.0.2 && < 1.1
, cookie >= 0.4 && < 0.4.4

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

>= 0.4.4 && <0.4

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I changed it to >= 0.4 && < 0.45 or it would complain again asking to set - cookie-0.4.3
in the extra-deps.

@phadej

phadej commented Mar 16, 2018

Copy link
Copy Markdown
Collaborator

Also, if you can please rebase, don't merge master. Merging unnecessarily clutters history

(EDIT: although, we can just squash & merge)

@Woody88

Woody88 commented Mar 16, 2018

Copy link
Copy Markdown
Author

Yes, I just rebased it on my local machine. Wasn't too sure what happened.. but learned from it. Thank you. I will proceed with your requested changes!

@Woody88 Woody88 left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Changes are done.

@fizruk fizruk mentioned this pull request Sep 24, 2018
@phadej

phadej commented Sep 24, 2018

Copy link
Copy Markdown
Collaborator

Merged in #83/#84

@phadej phadej closed this Sep 24, 2018
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