Comments (2)
Thanks for reporting, we don't have rigorous testing, use, or support of DocumentData schema's using non-String types. Barber has some initial support built in for supporting other Proto primitives like Instant and Duration but we haven't extended past that to other types like lists.
Though Barber uses Mustache under the hood, the Barber API and pattern exposed is a small, safer (ie. guardrails) subset of the power of Mustache.
from barber.
Thank you for the information
from barber.
Related Issues (20)
- Investigate BarberException message being masked when caught & rethrown by Misk Hibernate Transacter HOT 2
- Dead link in docs
- Add validation & tests for only supporting specific types in DocumentData
- Check that validation allows for nullable DocumentData fields
- Support rendering nested Documents
- Add a renderUnescaped(setOf(characters) = setOf()) method HOT 3
- Add a setDefaultBarberFieldEncoding API
- Add a customized localized formatters for DocumentData Duration, Instant, Money types HOT 1
- Add a configurable API for allowed shadow Document fields that won't have BarberField
- Support null fields in DocumentTemplate HOT 1
- Add signature extraction for DocumentTemplate protos to more easily fill in source, target signatures HOT 1
- Update Barber.render to use additional information from Kotlin DocumentData in further BarberSignature calculation HOT 1
- Fix getTargetDocuments for case of a document target being removed in a new template version
- Migrate CI to Github Actions with automated public releases like Tempest HOT 1
- Open Questions
- Add validation that target documents are not empty
- Add deterministic sorting to getTargetDocuments and similar APIs
- Docs are missing and we cannot fix misspellings HOT 2
- Misspelling in the website HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from barber.