-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix issue #49 #50
base: master
Are you sure you want to change the base?
fix issue #49 #50
Conversation
@tomatohf I'm glad to hear you used the Binding interface; I was responsible for those changes and have recently submitted a pull-request to include my With which JSON library did you integrate? Being able to bind to a JSON AST allowed us to seamlessly render handlebars templates in both JS land and Scala land, and it worked out relatively well. Nice catch on your fix, BTW. |
@timcharper We integrated |
Great; do you have the code somewhere? I could help review it and get it ready for merge. The |
I have the code in our private github repository. |
You could just post a gist Sent from my iPhone
|
I just found play-json under the addon folder ... |
ok, I will add a gist |
Here it is => https://gist.github.com/tomatohf/e54bc169da2a2425343f |
Well, lol here we are 5 months later! I merged your gist and made a few modifications to it; it's here: https://github.com/mwunsch/handlebars.scala/tree/lift-json Could you write some tests for it? Just mimic the tests for the play-json bindings. Then we'll be good to merge it in. Thanks! |
Sure, I'm glad to add some tests just like what play-json bindings does in addons directory. |
@tomatohf sure! Pull request to lift-json branch would be optimal. Or, you could just amend the commit from the lift-json branch and send a pull request for master. |
Hi Mark,
We have used your great Scala implementation of Handlebars in our product qiaobutang.com , and we'd like to join to make it better ~ :-)
BTW, it's glad to extend the Binding interface, we implemented a new Binding to fill json format values and avoid runtime reflection.