automatic detection of a variable's basic type #10

Closed
opened 2024-04-09 09:57:10 +02:00 by egarette · 1 comment
Owner
my_var:
  default: 'val'

is valid now, because the default type is 'string'

my_var:
  default: 1

should be valid too. The type should set to 'number' automaticly.

Same with other basic type:

my_var1:
  default: true
my_var2:
  default: 0.1

Please note that this behavior is only valid with format version 1.1 or higher.

``` my_var: default: 'val' ``` is valid now, because the default type is 'string' ``` my_var: default: 1 ``` should be valid too. The type should set to 'number' automaticly. Same with other basic type: ``` my_var1: default: true my_var2: default: 0.1 ``` **Please note that this behavior is only valid with format version 1.1 or higher.**
gremond changed title from find automaticly the variable basic type to automatical detection of a variable's basic type 2024-04-09 10:02:11 +02:00
gremond changed title from automatical detection of a variable's basic type to automatic detection of a variable's basic type 2024-04-09 11:32:17 +02:00
gremond added reference basic_types_inference 2024-04-09 12:01:39 +02:00
Author
Owner

Done in bc4420bdea

Done in bc4420bdea
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: stove/rougail#10
No description provided.