-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for generating many to many association in mermaid-class-diag…
…ram-from-csharp (#132) Added support for merging two one to many composition into one many to many association in class diagrams
- Loading branch information
Showing
14 changed files
with
103 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,24 @@ | ||
{ | ||
"sarif-viewer.connectToGithubCodeScanning": "off" | ||
"sarif-viewer.connectToGithubCodeScanning": "off", | ||
"explorer.fileNesting.enabled": true, | ||
"explorer.fileNesting.patterns": { | ||
// shows *.feature.cs files as nested items | ||
"*.feature": "${capture}.feature.cs" | ||
}, | ||
"files.exclude": { | ||
// excludes compilation result | ||
"**/obj/": true, | ||
"**/bin/": true | ||
}, | ||
"cucumber.glue": [ | ||
// sets the location of the step definition classes | ||
"src/develop/DryGen.*/Steps/**/*.cs" | ||
], | ||
"cucumber.features": [ | ||
// sets the location of the feature files | ||
"src/develop/DryGen.*/Features/**/*.feature" | ||
], | ||
"dotnet.automaticallySyncWithActiveItem": true, | ||
"csharp.preview.improvedLaunchExperience": true, | ||
"dotnet.automaticallyCreateSolutionInWorkspace": false | ||
} |
12 changes: 0 additions & 12 deletions
12
docs/templates/releasenotes/2024-10-29-v-2.0.0-prerelease.1.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.!.!.replace-token-for-release-notes-header.!.!. | ||
> [!IMPORTANT] | ||
> In v 2.x .Net 6 and .Net 7 will no longer be supported, since they're no longer supported by Microsoft. | ||
### Improvements in this version | ||
## Prerelease 2 | ||
- Added support for generating many to many association in `mermaid-class-diagram-from-csharp`. | ||
## Prerelease 1 (2024-10-29) | ||
- Fixed an issue where `mermaid-er-diagram-from-efcore` would fail when an input assebly referenced Asp.Net Core. | ||
- Ie the .csproj file contained `<Project Sdk="Microsoft.NET.Sdk.Web">` or `<FrameworkReference Include="Microsoft.AspNetCore.App|All">` or referenced such an assembly. | ||
- Added support for generating many to many relations in `mermaid-er-diagram-from-efcore`. | ||
- Switched to [docfx](https://dotnet.github.io/docfx/) for generating the documentation. | ||
- docfx uses .Net, so Ruby is no longer needed in the development toolchain | ||
|
||
Have fun! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,10 @@ | ||
using System; | ||
#if (NET6_0) | ||
using System.Diagnostics.CodeAnalysis; | ||
using System.Runtime.Serialization; | ||
#endif | ||
|
||
namespace DryGen.Core; | ||
|
||
#if (NET6_0) | ||
[Serializable] | ||
#endif | ||
public sealed class AssemblyLoadException : Exception | ||
{ | ||
public AssemblyLoadException(string? message) : base(message) | ||
{ | ||
} | ||
|
||
#if (NET6_0) | ||
[ExcludeFromCodeCoverage] | ||
private AssemblyLoadException(SerializationInfo info, StreamingContext context) : base(info, context) | ||
{ | ||
} | ||
#endif | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,10 @@ | ||
using System; | ||
#if (NET6_0) | ||
using System.Diagnostics.CodeAnalysis; | ||
using System.Runtime.Serialization; | ||
#endif | ||
|
||
namespace DryGen.Core; | ||
|
||
#if (NET6_0) | ||
[Serializable] | ||
#endif | ||
public sealed class InvalidContentException : Exception | ||
{ | ||
public InvalidContentException(string? message) : base(message) | ||
{ | ||
} | ||
|
||
#if (NET6_0) | ||
[ExcludeFromCodeCoverage] | ||
private InvalidContentException(SerializationInfo info, StreamingContext context) : base(info, context) | ||
{ | ||
} | ||
#endif | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,11 @@ | ||
using System; | ||
#if (NET6_0) | ||
using System.Diagnostics.CodeAnalysis; | ||
using System.Runtime.Serialization; | ||
#endif | ||
|
||
namespace DryGen.Core; | ||
|
||
#if (NET6_0) | ||
[Serializable] | ||
#endif | ||
public sealed class TypeLoadException : Exception | ||
{ | ||
public TypeLoadException(string? message) : base(message) | ||
{ | ||
} | ||
|
||
#if (NET6_0) | ||
[ExcludeFromCodeCoverage] | ||
private TypeLoadException(SerializationInfo info, StreamingContext context) : base(info, context) | ||
{ | ||
} | ||
#endif | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,10 @@ | ||
using System; | ||
#if (NET6_0) | ||
using System.Diagnostics.CodeAnalysis; | ||
using System.Runtime.Serialization; | ||
#endif | ||
|
||
namespace DryGen.Core; | ||
|
||
#if (NET6_0) | ||
[Serializable] | ||
#endif | ||
public sealed class TypeMemberException : Exception | ||
{ | ||
public TypeMemberException(string? message) : base(message) | ||
{ | ||
} | ||
|
||
#if (NET6_0) | ||
[ExcludeFromCodeCoverage] | ||
private TypeMemberException(SerializationInfo info, StreamingContext context) : base(info, context) | ||
{ | ||
} | ||
#endif | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,10 @@ | ||
using System; | ||
|
||
#if (NET6_0) | ||
using System.Diagnostics.CodeAnalysis; | ||
using System.Runtime.Serialization; | ||
#endif | ||
|
||
namespace DryGen; | ||
|
||
#if (NET6_0) | ||
[Serializable] | ||
#endif | ||
public sealed class OptionsException : Exception | ||
{ | ||
public OptionsException(string message) : base(message) | ||
{ | ||
} | ||
|
||
#if (NET6_0) | ||
[ExcludeFromCodeCoverage] | ||
private OptionsException(SerializationInfo info, StreamingContext context) : base(info, context) | ||
{ | ||
} | ||
#endif | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters