Skip to content

Casing is inconsistent between property definitions in schemas and property names in element props #8741

@ColinKerr

Description

@ColinKerr

iTwin.js forces the first letter off every property to lower case when generating the element props. This is confusing because the standard for schema definitions is to start with an upper case. So the schema and the json are always inconsistent.

e.g.

EC Property Name JSON Property Name
Additional_Information additional_Information
Agents_Record_Number agents_Record_Number
Area_Region area_Region
MyCustomProperty myCustomProperty
GPSCoordinateValue gpsCoordinateValue
PIPELINE_NUMBER pIPELINE_NUMBER

Metadata

Metadata

Assignees

No one assigned

    Labels

    confusing APITrack API that needs to be revisited to improve quality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions