Skip to content

Casing: Canonical name for Csharp. #4295

@Shubham8287

Description

@Shubham8287

2.0 Breaking change:

Convert existing name to accessor

Not breaking(but nice to have in 2.0);

Usee name for canonical names.

We want to support canonical name overrides for tables, reducers, views, procedures, and indexes, as described in the proposal.

Modules should provide these canonical names through the ExplicitNames section of RawModuleDefV10, as outlined in the code commentary in this PR:
#4294

Also provide the way to choose the casing setting and pass it me RawModuleDefV10 : CaseConversionPolicy section

public partial class Module
{
    [SpacetimeDB.Settings]
    public const CaseConversionPolicy CASE_CONVERSION_POLICY = CaseConversionPolicy.SnakeCase;
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions