Giter Club home page Giter Club logo

exegesis-express's People

Contributors

dependabot[bot] avatar greenkeeper[bot] avatar greenkeeperio-bot avatar jwalton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

exegesis-express's Issues

An in-range update of lint-staged is breaking the build 🚨

The devDependency lint-staged was updated from 8.1.3 to 8.1.4.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

lint-staged is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v8.1.4

8.1.4 (2019-02-14)

Bug Fixes

  • Use lodash version with prototype pollution fix (#578) (0be88a0)
Commits

The new version differs by 4 commits.

  • 0be88a0 fix: Use lodash version with prototype pollution fix (#578)
  • 138fbc7 docs: Update Node version in the documentation (#579)
  • f9e5d7b refactor: Use micromatch ignore option instead of patterns with negations
  • 6e32188 chore: Update yarn.lock

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

typo in README.md: Replace `ignorePaths` with `ignoreServers`

There's a dummy typo occurred in README file in the server section. That might happened due to the old version described in readme.
So, basically, to fix this typo replace this example code snippet:

 const exegesisMiddleware = await exegesisExpress.middleware(
        path.resolve(__dirname, './openapi.yaml'),
        {ignorePaths: true}
    );
    app.use('/api/v2', exegesisMiddleware);

With this:

const exegesisMiddleware = await exegesisExpress.middleware(
       path.resolve(__dirname, './openapi.yaml'),
       {ignoreServers: true}
   );
   app.use('/api/v2', exegesisMiddleware);

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on all branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.

Since we didn’t receive a CI status on the greenkeeper/initial branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/.

Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please delete the greenkeeper/initial branch in this repository, and then remove and re-add this repository to the Greenkeeper App’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.

An in-range update of supertest-fetch is breaking the build 🚨

The devDependency supertest-fetch was updated from 1.2.3 to 1.2.4.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

supertest-fetch is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v1.2.4

1.2.4 (2019-03-25)

Bug Fixes

Commits

The new version differs by 3 commits.

  • fd57754 ci: Upgrade dev dependencies. Don't fail on npm audit.
  • 4c1e483 Merge pull request #29 from golopot/patch-1
  • ee0ba6f fix: Fix type in readme

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of semantic-release is breaking the build 🚨

The devDependency semantic-release was updated from 15.12.4 to 15.12.5.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

semantic-release is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v15.12.5

15.12.5 (2018-12-11)

Bug Fixes

  • allow to set ci option via API and config file (862ec4c)
Commits

The new version differs by 8 commits.

  • 649b530 docs: mention that debug option is CLI only
  • 862ec4c fix: allow to set ci option via API and config file
  • 6b110b6 docs: switch to spectrum.chat
  • e4c6649 docs: syntax fixes in plugins list
  • 6220641 docs: add @semantic-release/apm to plugins list
  • a45273e docs: add maven-semantic-release to list of community plugins
  • d109113 chore(package): update nyc and sinon
  • cd69583 test: delete unused test helper file

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of exegesis is breaking the build 🚨

The dependency exegesis was updated from 1.3.0 to 1.3.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

exegesis is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v1.3.1

1.3.1 (2019-03-27)

Bug Fixes

  • package: update semver to version 6.0.0 (1512617)
Commits

The new version differs by 26 commits.

  • 252d303 Merge pull request #83 from exegesis-js/greenkeeper/semver-5.7.0
  • 54eefd8 chore(package): update lockfile package-lock.json
  • 1512617 fix(package): update semver to version 6.0.0
  • c7da3d9 Merge pull request #81 from exegesis-js/greenkeeper/mocha-6.0.0
  • 8618068 chore(package): update lockfile package-lock.json
  • ba72515 chore(package): update mocha to version 6.0.0
  • 1b333ee chore: Upgrade tslint, other deps in lockfile.
  • f5f49dc chore: Upgrade dev dependencies.
  • d913e4f chore: Upgrade lodash and some dev dependencies.
  • 9baf9aa Merge pull request #78 from exegesis-js/greenkeeper/@types/node-10.12.24
  • 9c3b72a chore(package): update lockfile package-lock.json
  • 5fcd523 chore(package): update @types/node to version 10.12.24
  • 0ec661d Merge pull request #77 from exegesis-js/greenkeeper/@types/node-10.12.23
  • d053b99 chore(package): update lockfile package-lock.json
  • c38c5f6 chore(package): update @types/node to version 10.12.23

There are 26 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Can we access "ExegesisContext" at express middleware(app.use) not controllers/*.ts

First

Exegesis become an indispensable part of development, thank you for your implement.

Ask

How to access ExegesisContext at express midleware (app.use)
I want to access ExegesisContext for response at presenters/.ts , not controller/*.ts in Clean Architecture
For realize above, I think the way that setting ExegesisResponse of ExegesisContext to MyApiContext as property in middleware(app.use).

But i don't success it.

Example that i want

// controller/hello.ts
const hello = async (ctx: ExegesisContext) => {
  const name = ctx.params.query.name;
  usecases.sayHello(name);
};
// usecase/hello.ts
const sayHello = async (name: string) => {
  presenter.renderHello(name);
};
// presenter/hello.ts
import { myApiContext } from '../../';

const sayHello = async (name: string) => {
  myApiContext.exegesisRes.status(200).json({   // ✅ this is the way i want
    message: `Hello ${name}`,
  });
};

The way realize the above 3 pattern.

Parttern1 - Across layer with exegesisContext as arguments

// controller/hello.ts
const ping = async (ctx: ExegesisContext) => {
  usecases.sayHello(ctx);
};
// usecase/hello.ts
const sayHello = async (ctx: ExegesisContext) => { // ✅
  presenter.renderHello(ctx);
};
// presenter/hello.ts
const sayHello = async (ctx: ExegesisContext) => { // ✅
  ctx.res.status(200).json({ 
    message: `Hello ${ctx.params.query.name}`,
  });
};

Parttern2 - Set ExegesisContext to MyApiContext at controller and 1st line of each action.

// controller/hello.ts
const ping = async (ctx: ExegesisContext) => {
  setExegesisContext(ctx) // ✅ if i do, i realize response at presenter layer,  but i have to write same code every time at action.
  usecases.sayHello(ctx.params.query.name);
};

Parttern3 - Set ExegesisResponse of ExegesisContext to MyApiContext at express middleware

I don't success it.
Can we access ExegesisContext that has response writer at express middleware(app.use) ?
If it success, it will be better code than pattern1 and pattern2.

Thanks.

An in-range update of exegesis is breaking the build 🚨

The dependency exegesis was updated from 2.2.2 to 2.2.3.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

exegesis is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v2.2.3

2.2.3 (2019-12-15)

Bug Fixes

  • package: update semver to version 7.0.0 (d29a7b5)
Commits

The new version differs by 3 commits.

  • 7069d42 Merge pull request #120 from exegesis-js/greenkeeper/semver-7.0.0
  • ac31bc0 chore(package): update lockfile package-lock.json
  • d29a7b5 fix(package): update semver to version 7.0.0

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of @types/mocha is breaking the build 🚨

The devDependency @types/mocha was updated from 5.2.5 to 5.2.6.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@types/mocha is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Readme references ignorePaths instead of ignoreServers

    const exegesisMiddleware = await exegesisExpress.middleware(
        path.resolve(__dirname, './openapi.yaml'),
        {ignorePaths: true}
    );
    app.use('/api/v2', exegesisMiddleware);

Should be...

    const exegesisMiddleware = await exegesisExpress.middleware(
        path.resolve(__dirname, './openapi.yaml'),
        {ignoreServers: true}
    );
    app.use('/api/v2', exegesisMiddleware);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.