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

readonly struct #1132

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Conversation

SergerGood
Copy link
Contributor

added for comparison

Copy link
Member

@NickCraver NickCraver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a lot more in this PR, namely it changes all the base levels of the libraries fro net451 to net471 (this is a breaking change...which we wouldn't want). Is it possible that some branches got mixed up here?

@SergerGood
Copy link
Contributor Author

rollback .net franework target

@NickCraver
Copy link
Member

Looking much better! I need to see which version of C# this actually needs (latest has issues with build servers and such) and use that version, e.g. 7.3 is safe. In any case, we should locate that in Directory.Build.props instead of each project. properties in there apply across all projects :)

Pinging @mgravell for breaking change eyes - I'm not 100% on the rules here.

@NickCraver NickCraver added the v3.0 Changes awaiting the next breaking release label Nov 2, 2018
@mgravell
Copy link
Member

mgravell commented Nov 2, 2018

The change to add in on the public methods is absolutely a breaking change; fine for the non-public, but no-go for the public, until the next time we're doing a hard break.

Context: https://sharplab.io/#v2:EYLgtghgzgLgpgJwDQxASwDYB8ACBmAAgTggBMB7AOwwE8DYEBXAYxgIDFzyCBvIkitTppKbYBAQBuAgF8AsACh8BHACYCAYV6KCulYRwAWAgEEoANQiVMGCAApO3AGZcAlLxkEA9F4IA3CAxGOBgaAAc4Di4CF3IdPWUjUygASUo7ESjnNw9vXwBtEQBdf0Dg0IisgDIYrnjdROMzACU4JztiJyza8nceTx9SoJDwyMca2MUZIA

@mgravell
Copy link
Member

bits of this look fine, but to emphasize we can't take things like the change to add in on public methods like:

public static int Execute(this IDbConnection cnn, in CommandDefinition command) => ExecuteImpl(cnn, command);

Do you want to revisit? or should I pick and choose pieces?

@SergerGood
Copy link
Contributor Author

done, but there are problems with WIP

# Conflicts:
#	Dapper/SqlMapper.Async.cs
#	Dapper/SqlMapper.cs
@mgravell
Copy link
Member

Assigning to self; will re-review and get back

@mgravell mgravell self-assigned this Oct 18, 2019
@NickCraver NickCraver changed the base branch from master to main June 20, 2020 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change v3.0 Changes awaiting the next breaking release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants