Skip to content
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

Allow set enum as json value (#4363) #4434

Merged
merged 3 commits into from
Jul 29, 2024
Merged

Allow set enum as json value (#4363) #4434

merged 3 commits into from
Jul 29, 2024

Commits on Mar 26, 2024

  1. Allow set enum as json value (#4363)

    * fix issue #4341
    add testEnum
    if you set enum as json value then it will be cast to int
    
    * add behavour for enum into VarHolderImpl
    add tests for enum classes with differnent underline integral types
    
    * replace static_cast with convertTo* methods, they can chaeck types and
    limits
    
    * fix missing types for convert methods
    
    * fix code style
    add testEnumType to the VarTest.cpp, extract() works
    bas524 authored and matejk committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    7a2c2fc View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. Configuration menu
    Copy the full SHA
    d4e6131 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    df96fe6 View commit details
    Browse the repository at this point in the history