hapi
Here are 611 public repositories matching this topic...
-
Updated
May 31, 2020 - JavaScript
https://www.apollographql.com/docs/apollo-server/data/errors/#codes
Mentions that:
In addition to stacktraces, Apollo Server's exported errors specify a human-readable string in the code field of extensions that enables the client to perform corrective actions. In addition to improving the client experience, the code field allows the server to categorize errors. For example, an Authenticat
Add Micro.js example
-
Updated
Mar 9, 2018 - JavaScript
I've read the docs, and it seems you can pass through knex instances, but I didn't see if it supports SQLite3 - could you clarify please?
See: https://gist.github.com/ericelliott/f3c2a53a1d4100539f71
Advantages
See: https://medium.com/javascript-scene/you-might-not-need-typescript-or-static-types-aa7cb670a77b
- autocomplete and type inference with most IDEs
- doesn't require passing Log objects for every call (although it's encouraged)
- other non-required parameters (such as
query) can be omitted - much easier to a
-
Updated
Mar 13, 2020 - JavaScript
-
Updated
Jun 6, 2020 - JavaScript
-
Updated
Sep 25, 2018 - TypeScript
-
Updated
Jun 4, 2020 - JavaScript
-
Updated
Jun 14, 2020 - JavaScript
-
Updated
Nov 23, 2016 - JavaScript
-
Updated
Apr 30, 2020 - Vue
After running the steps in the README to generate the sample petstore app, I run 'npm test' against it. I get several 501 errors, which are expected in this case since I have not yet added the handlers, but the tests for "addPet post operation" is failing with 400 (bad request). I would expect that to also fail in the same way as the others. It appears that the request is not even making it in
-
Updated
Jul 30, 2019 - JavaScript
-
Updated
Feb 14, 2020 - JavaScript
While using uws yields some good performance benefits, trying to actually use it results in some issues.
The first issue I came across, is a fairly important one. Trying to add response headers in both Express and Koa do nothing. All that comes back is the Content-length header, nothing else.
const http = require("uws").http;
// const http = require("http");
Koa:
ctx.set("Cache-Control"
-
Updated
Apr 12, 2018 - JavaScript
-
Updated
Jun 12, 2020 - JavaScript
-
Updated
Jun 9, 2020 - TypeScript
-
Updated
Mar 13, 2020 - JavaScript
So in the ember addon I have explained a little further about the crossorigin attribute usage:
https://github.com/jonathanKingston/ember-cli-sri
Something like:
Crossorigin attribute
When the request doesn't match Same Origin Policy the crossorigin attribute MUST be present for the integrity of the fil
Improve this page
Add a description, image, and links to the hapi topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the hapi topic, visit your repo's landing page and select "manage topics."