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

feat: Server attribute now throws error #270

Merged
merged 9 commits into from Jul 13, 2020
Merged

feat: Server attribute now throws error #270

merged 9 commits into from Jul 13, 2020

Conversation

paulpach
Copy link
Contributor

If you want to get an error you do this:

[Server]
public void ServerFunctionOnly() {}

If you don't want to get an error, you do this:

[Server(error = false)]
public void ServerFunctionOnly() {}

BREAKING CHANGE: [ServerCallback] is now [Server(error = false)]

If you want to get an error you do this:
```cs
[Server]
public void ServerFunctionOnly() {}
```

If you don't want to get an error, you do this:
```cs
[Server(error = false)]
public void ServerFunctionOnly() {}
```

BREAKING CHANGE: [ServerCallback] is now [Server(error = false)]
@sonarcloud
Copy link

sonarcloud bot commented Jul 13, 2020

SonarCloud Quality Gate failed.

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

58.8% 58.8% Coverage
0.0% 0.0% Duplication

@paulpach paulpach merged commit f3b5dc4 into master Jul 13, 2020
@paulpach paulpach deleted the serverattribute branch July 13, 2020 23:41
github-actions bot pushed a commit that referenced this pull request Jul 13, 2020
# [37.0.0](36.0.0-master...37.0.0-master) (2020-07-13)

### Features

* Server attribute now throws error ([#270](#270)) ([f3b5dc4](f3b5dc4))

### BREAKING CHANGES

* [ServerCallback] is now [Server(error = false)]

* fixed weaver test

* Remove unused code

* fix comment

* document replacement of ServerCallback

* No need to be serializable

* Exception should be serializable?

* Fix code smell

* No need to implement interface,  parent does

Co-authored-by: Paul Pacheco <paul.pacheco@aa.com>
github-actions bot pushed a commit that referenced this pull request Jul 14, 2020
* feat: Server attribute now throws error

If you want to get an error you do this:
```cs
[Server]
public void ServerFunctionOnly() {}
```

If you don't want to get an error, you do this:
```cs
[Server(error = false)]
public void ServerFunctionOnly() {}
```

BREAKING CHANGE: [ServerCallback] is now [Server(error = false)]

* fixed weaver test

* Remove unused code

* fix comment

* document replacement of ServerCallback

* No need to be serializable

* Exception should be serializable?

* Fix code smell

* No need to implement interface,  parent does

Co-authored-by: Paul Pacheco <paul.pacheco@aa.com>
github-actions bot pushed a commit that referenced this pull request Jul 14, 2020
# [37.0.0](36.0.0-master...37.0.0-master) (2020-07-13)

### Features

* Server attribute now throws error ([#270](#270)) ([f3b5dc4](f3b5dc4))

### BREAKING CHANGES

* [ServerCallback] is now [Server(error = false)]

* fixed weaver test

* Remove unused code

* fix comment

* document replacement of ServerCallback

* No need to be serializable

* Exception should be serializable?

* Fix code smell

* No need to implement interface,  parent does

Co-authored-by: Paul Pacheco <paul.pacheco@aa.com>
@github-actions
Copy link
Contributor

🎉 This PR is included in version 37.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link
Contributor

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants