Skip to content

Updating from Crinja 0.8.1 to 0.9.0, issue with passing decoded JSON to a template #99

@ConfusionUnknown

Description

@ConfusionUnknown

Hi!
I've got a project i'm attempting to move to Crinja 0.9.0 from 0.8.1 (so that it's able to compile on the new crystal version), but I'm having trouble with passing data into templates

My project allows you to pass in user-defined JSON objects into templates, which i use the Crystal JSON module to do. It returns JSON::Any objects, which I then convert to a Hash(String, JSON::Any) and pass to the template.

This worked fine on Crinja 0.8.1, but now causes an error unfortunately.

- alice

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions