Skip to content

Commit

Permalink
Update issue templates to remove discussions (#22690)
Browse files Browse the repository at this point in the history
* Update issue templates to remove discussions

* Feedback
  • Loading branch information
ajcvickers committed Sep 24, 2020
1 parent b692479 commit 7984016
Show file tree
Hide file tree
Showing 5 changed files with 118 additions and 26 deletions.
58 changes: 58 additions & 0 deletions .github/ISSUE_TEMPLATE/ask_a_question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
name: Ask a question
about: Ask a question about Entity Framework Core or Microsoft.Data.Sqlite
labels: customer-reported
---

## Ask a question

Remember:

* Please make your question as clear and specific as possible.
* Please check that the [documentation](https://docs.microsoft.com/ef/) does not answer your question.
* Please search in both [open](https://github.com/dotnet/efcore/issues) and [closed](https://github.com/dotnet/efcore/issues?q=is%3Aissue+is%3Aclosed) issues to check that your question has not already been answered.

### Include your code

Usually the best way to ask a clear question and get a quick response is to show your code. Preferably, attach a small, runnable project or post a small, runnable code listing that reproduces what you are seeing.

Use triple-tick code fences for any posted code. For example:

```C#
Console.WriteLine("Hello, World!");
```

### Include stack traces

Include the full exception message and stack trace for any exception you encounter.

Use triple-tick fences for stack traces. For example:

```
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at SixFour.Sub() in C:\Stuff\AllTogetherNow\SixFour\SixFour.cs:line 49
at SixFour.Main() in C:\Stuff\AllTogetherNow\SixFour\SixFour.cs:line 54
```

### Include verbose output

Please include verbose output when asking questions about the `dotnet ef` or Package Manager Console tools.

Use triple-tick fences for tool output. For example:

```
C:\Stuff\AllTogetherNow\FiveOh>dotnet ef dbcontext list --verbose
Using project 'C:\Stuff\AllTogetherNow\FiveOh\FiveOh.csproj'.
...
Finding DbContext classes in the project...
Found DbContext 'BlogContext'.
BlogContext
```

### Include provider and version information

EF Core version:
Database provider: (e.g. Microsoft.EntityFrameworkCore.SqlServer)
Target framework: (e.g. .NET 5.0)
Operating system:
IDE: (e.g. Visual Studio 2019 16.3)
46 changes: 35 additions & 11 deletions .github/ISSUE_TEMPLATE/bug_report_efcore.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,56 @@ about: Create a report about something that isn't working
labels: customer-reported
---

<!-- Describe what isn't working as expected -->
## File a bug

Remember:

* Please check that the [documentation](https://docs.microsoft.com/ef/) does not explain the behavior you are seeing.
* Please search in both [open](https://github.com/dotnet/efcore/issues) and [closed](https://github.com/dotnet/efcore/issues?q=is%3Aissue+is%3Aclosed) issues to check that your bug has not already been filed.

### Steps to reproduce
### Include your code

<!--
What steps can we follow to reproduce the issue?
To fix any bug we must first reproduce it. To make this possible, please attach a small, runnable project or post a small, runnable code listing that reproduces what you are seeing.

We ❤ code! Include a complete code listing or attach a simplified project
It is often impossible for us to reproduce a bug when working with only code snippets since we have to guess at the missing code.

``` C#
Use triple-tick code fences for any posted code. For example:

```C#
Console.WriteLine("Hello, World!");
```

Got Exceptions? Include both the message and the stack trace
### Include stack traces

Include the full exception message and stack trace for any exception you encounter.

Use triple-tick fences for stack traces. For example:

For `dotnet ef` and PMC, share the --verbose output
-->
```
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at SixFour.Sub() in C:\Stuff\AllTogetherNow\SixFour\SixFour.cs:line 49
at SixFour.Main() in C:\Stuff\AllTogetherNow\SixFour\SixFour.cs:line 54
```

### Include verbose output

Please include `--verbose` output when filing bugs about the `dotnet ef` or Package Manager Console tools.

Use triple-tick fences for tool output. For example:

```
C:\Stuff\AllTogetherNow\FiveOh>dotnet ef dbcontext list --verbose
Using project 'C:\Stuff\AllTogetherNow\FiveOh\FiveOh.csproj'.
...
Finding DbContext classes in the project...
Found DbContext 'BlogContext'.
BlogContext
```

### Further technical details
### Include provider and version information

EF Core version:
Database provider: (e.g. Microsoft.EntityFrameworkCore.SqlServer)
Target framework: (e.g. .NET Core 3.0)
Target framework: (e.g. .NET 5.0)
Operating system:
IDE: (e.g. Visual Studio 2019 16.3)
32 changes: 22 additions & 10 deletions .github/ISSUE_TEMPLATE/bug_report_sqlite.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,40 @@ about: Create a report about something that isn't working
labels: area-adonet-sqlite, customer-reported
---

<!-- Describe what isn't working as expected -->
## File a bug

Remember:

* Please check that the [documentation](https://docs.microsoft.com/ef/) does not explain the behavior you are seeing.
* Please search in both [open](https://github.com/dotnet/efcore/issues) and [closed](https://github.com/dotnet/efcore/issues?q=is%3Aissue+is%3Aclosed) issues to check that your bug has not already been filed.

### To Reproduce
### Include your code

<!--
What steps can we follow to reproduce the issue?
To fix any bug we must first reproduce it. To make this possible, please attach a small, runnable project or post a small, runnable code listing that reproduces what you are seeing.

We ❤ code! Include a complete code listing or attach a simplified project
It is often impossible for us to reproduce a bug when working with only code snippets since we have to guess at the missing code.

``` C#
Use triple-tick code fences for any posted code. For example:

```C#
Console.WriteLine("Hello, World!");
```

Got Exceptions? Include both the message and the stack trace
-->
### Include stack traces

Include the full exception message and stack trace for any exception you encounter.

Use triple-tick fences for stack traces. For example:

### Additional context
```
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at SixFour.Sub() in C:\Stuff\AllTogetherNow\SixFour\SixFour.cs:line 49
at SixFour.Main() in C:\Stuff\AllTogetherNow\SixFour\SixFour.cs:line 54
```

### Include version information

Microsoft.Data.Sqlite version:
Target framework: (e.g. .NET Core 3.0)
Target framework: (e.g. .NET 5.0)
Operating system:

3 changes: 0 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: Got a question?
url: https://github.com/dotnet/efcore/discussions/new
about: Please use discussions to ask a question about using the product.
- name: Issue with ASP.NET Core
url: https://github.com/dotnet/aspnetcore/issues/new/choose
about: Please open issues relating to ASP.NET Core in dotnet/aspnetcore.
Expand Down
5 changes: 3 additions & 2 deletions src/EFCore/EF.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ internal static readonly MethodInfo PropertyMethod

/// <summary>
/// <para>
/// References a given property on an entity instance. This is useful for shadow state properties, for which no CLR property exists. Currently this method can only be used in LINQ queries and can not be used to access the value assigned to a
/// property in other scenarios.
/// References a given property or navigation on an entity instance. This is useful for shadow state properties, for
/// which no CLR property exists. Currently this method can only be used in LINQ queries and can not be used to
/// access the value assigned to a property in other scenarios.
/// </para>
/// <para>
/// Note that this is a static method accessed through the top-level <see cref="EF" /> static type.
Expand Down

0 comments on commit 7984016

Please sign in to comment.