Open Cap Table Protocol Canton SDK - v0.2.224
    Preparing search index...

    Function registerDeprecatedFieldMapping

    • Register a new deprecated field mapping.

      This is useful for extending the built-in deprecation registry with custom or newly discovered deprecations.

      Parameters

      Returns void

        // Register a new deprecation
      registerDeprecatedFieldMapping('SomeOcfType', {
      deprecatedField: 'old_field',
      replacementField: 'new_fields',
      deprecationType: 'singular_to_array',
      });