Giter VIP home page Giter VIP logo

Comments (9)

aldenpeterson-wf avatar aldenpeterson-wf commented on August 12, 2024

Created as https://trello.com/c/eHe3nHPT/684-https-github-com-workiva-frugal-issues-546

from frugal.

brianshannan-wf avatar brianshannan-wf commented on August 12, 2024

@johnlockwood-wf what language/generator options are you using to generate with?

from frugal.

johnlockwood-wf avatar johnlockwood-wf commented on August 12, 2024

@brianshannan-wf --gen go:gen_with_frugal=false

from frugal.

johnlockwood-wf avatar johnlockwood-wf commented on August 12, 2024

frugal --retain-intermediate -out gen-go --gen go:gen_with_frugal=false,package_prefix=github.com/Workiva/linking-sdk-py/gen-go/ parsimony_staging_dire ctory/github.com/Workiva/linking-frugal/directory.frugal is the full command.
Where directory.frugal had a Union with a property named "exception"

from frugal.

brianshannan-wf avatar brianshannan-wf commented on August 12, 2024

So to clarify, the problem occurs when creating the intermediate thrift IDL file and doesn't occur when generating solely with frugal?

from frugal.

johnlockwood-wf avatar johnlockwood-wf commented on August 12, 2024

@brianshannan-wf the problem occurs when frugal doesn't raise an exception when it should.

from frugal.

brianshannan-wf avatar brianshannan-wf commented on August 12, 2024

Why should frugal raise an exception in this case?

from frugal.

johnlockwood-wf avatar johnlockwood-wf commented on August 12, 2024

Because thrift does. I guess the real question is why does thrift not allow it?

from frugal.

johnlockwood-wf avatar johnlockwood-wf commented on August 12, 2024

[12:27 PM] Steven Osborne: I think their grammar was overly restrictive
[12:28 PM] Steven Osborne: exception is a keyword in thrift
[12:28 PM] Steven Osborne: But only when defining an exception
[12:28 PM] Steven Osborne: We can compile code just fine with an "exception" field

from frugal.

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.