Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding [CallerMemberName] to 3 new overloads for the DynamoDbPropertyAttribute #240

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Forgot the most important one :D
  • Loading branch information
devtekve authored May 10, 2024
commit 0c20e248caa14fe9e83639a9c0f5bbd932d7950e
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public sealed class DynamoDbPropertyAttribute : Attribute

public DynamoDbAttributeType AttributeType { get; }

public DynamoDbPropertyAttribute(string name) : this(name, null, DynamoDbAttributeType.Regular)
public DynamoDbPropertyAttribute([CallerMemberName] string name = default!) : this(name, null, DynamoDbAttributeType.Regular)
{
}

Expand Down