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

Payload HTTP server backend recipe #226

Merged
merged 7 commits into from
Sep 9, 2020

Conversation

eviefp
Copy link
Contributor

@eviefp eviefp commented Aug 25, 2020

Fixes #225

This currently overrides the packages.dhall additions for it to work. I created a PR on package-set to add it there purescript/package-sets#675

Is it okay if this just stays open until then? If not, feel free to close and I can re-open.

# PayloadHttpApiNode

Implements a simple 'quote' API using the [payload](https://github.com/hoodunit/purescript-payload)
HTTP backend.
Copy link
Owner

Choose a reason for hiding this comment

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

Since this is on line 4, it won't be included when you run make readme. Remove the newline and let the text wrap.

Copy link
Owner

Choose a reason for hiding this comment

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

Also, could you add something in its description that says this has similar design principles as Haskell's Servant?

@@ -0,0 +1,2 @@
This file just indicates that the node backend is supported.
Copy link
Owner

Choose a reason for hiding this comment

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

This file should be named nodeSupportedSkipCI.md. Otherwise, CI will run this code and it will never terminate.

@JordanMartinez
Copy link
Owner

Is it okay if this just stays open until then?

Yeah, that's fine! It's what I would do, too, in this situation.

Looks good to me!

@eviefp
Copy link
Contributor Author

eviefp commented Aug 26, 2020

PR was merged in package-sets, just need to wait for a new tag to get published.

@JordanMartinez
Copy link
Owner

Looks like payload is now included in the recent package set release. @Vladciobanu could you update this PR to use the latest release?

@JordanMartinez
Copy link
Owner

Looks like you accidentally added a SuperCircle into the readme and that's what's stopping CI from building. Mind removing that?

@eviefp
Copy link
Contributor Author

eviefp commented Sep 9, 2020

I accidentally commited the modified package.json file; I'll revert and fix it.

@JordanMartinez JordanMartinez merged commit e10fad7 into JordanMartinez:master Sep 9, 2020
@JordanMartinez
Copy link
Owner

Thanks for all your work on this!

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.

Payload HTTP Backend Example
2 participants