CGI-FR / CGI-FR/jsonline

feat : add max size parameter for string and truncate output

Open
#6 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Problem

Column definition in database have a max size definition. Trying to insert a bigger value with `lino push` failed.

## Proposal

Define a template with max size parameter that truncate string longer than max size definition.

```console
$ jl -t '{"name": "string(4)"}' <

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.