Skip to content

[Bug]: DAL Extensions: failure on casting #278

@antoineatstariongroup

Description

@antoineatstariongroup

What type of issue is this?

  • Bug report
  • Feature request

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of the SysML2.NET
  • I have searched open and closed issues to ensure it has not already been reported

Description

When synchronizing the DAL cache, extensions method that update references uses class type as target type instead of interface ones.

Since inheritance is only performed via interface, casting at runtime may fail due to that reason.

The handlebars template has to be updated to always use interfaces type and regenerate

Steps to Reproduce

System Configuration

  • SysML2.NET version:
  • Environment (Operating system, version and so on):
  • .NET Framework version:
  • Additional information:

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions