GithubHelp home page GithubHelp logo

Comments (5)

jpreese avatar jpreese commented on June 7, 2024

The casing comes from the hyphens. So in your case your directory should be opa/frank-test-casing/src.rego

from konstraint.

Frankg26 avatar Frankg26 commented on June 7, 2024

Hello,

Thank you for the response. I renamed my directory as you suggested and the issue has been solved!

Was the usage of hyphens introduced in 2022? Because the directory opa/FrankTestCasing/src.rego, would have resulted in camel casing for the templates and constraint files when I used Konstraint back in Q4 2021.

from konstraint.

jpreese avatar jpreese commented on June 7, 2024

Not that I recall, I thought we always did it by hyphens to match how the Gatekeeper library laid theirs out.

For science, you could try downloading an older version and testing again.

from konstraint.

jalseth avatar jalseth commented on June 7, 2024

The naming has been in place since 2020-09-08, see the Git blame link below. I believe this issue should be closed, as this is the expected behavior.

https://github.com/plexsystems/konstraint/blame/8e2b39c77d0d98d84187cecba0c7f7b2d122c429/internal/rego/rego.go#L382

from konstraint.

Frankg26 avatar Frankg26 commented on June 7, 2024

Thank you for the responses!

from konstraint.

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.