Giter Club home page Giter Club logo

Comments (4)

byCedric avatar byCedric commented on May 22, 2024

I also want to add another use case which I ran into when working on the channel commands.

When we search for an app, it's based on user input (through project configuration). The app may or may not exist. It's a bit hard to create good feedback with this error handling kicking in with a 400 status when the app doesn't exist.

Take this query for example, just returning null for non-existing apps would be sufficient to signal there is no app with the name @bycedrictest/hue-p1 (there is one, without 1 suffix). It allows us to just check with if (app) and then log or prompt.

query {
  app {
    byFullName(fullName: "@bycedrictest/hue-p1") {
      id
      name
      fullName
    }
  }
}

from eas-cli.

senorflor avatar senorflor commented on May 22, 2024

Accidentally added this use/test case to a closed issue, so linking here to close the loop: #136 (comment)

from eas-cli.

github-actions avatar github-actions commented on May 22, 2024

This issue is stale because it has been open for 30 days with no activity. If there is no activity in the next 7 days, the issue will be closed.

from eas-cli.

github-actions avatar github-actions commented on May 22, 2024

This issue was closed because it has been inactive for 7 days since being marked as stale. Please open a new issue if you believe you are encountering a related problem.

from eas-cli.

Related Issues (20)

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.