Code Monkey home page Code Monkey logo

Comments (4)

daeMOn63 avatar daeMOn63 commented on July 17, 2024

This is interesting!
For the record, I've done something for this exact issue, but only as a preprocessing step to the parsing. It still allow to mix named and numbered variables and doesn't print rules with named variables when inspecting the biscuit, so it only help with the readability of the initial definition.

Mixing both variable types doesn't seems to have any interest, and easing the inspection and debugging is a great plus, so I would be happy to have this 👍

from biscuit.

Geal avatar Geal commented on July 17, 2024

I mentioned it in the specification here: 828f4c3
It updates the samples since they are generated differently now by the Rust implementation: biscuit-auth/biscuit-rust@870c2f5

from biscuit.

Geal avatar Geal commented on July 17, 2024

I've played a bit with it after implementation, and honestly I should have done that much sooner, it's great when there are complex rules 😄

from biscuit.

Geal avatar Geal commented on July 17, 2024

this is now done in the Go implementation and the Java implementation as well

from biscuit.

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.