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

Mark classes of deprecated messages with @Deprecated. #876

Merged
merged 3 commits into from
Nov 11, 2021

Conversation

ratcashdev
Copy link
Contributor

Implementation of #875

Wondering is something similar would make sense for fields?

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<sbe:messageSchema xmlns:sbe="http://fixprotocol.io/2016/sbe"
package="since-deprecated"
package="since.deprecated"
Copy link
Contributor

Choose a reason for hiding this comment

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

This change breaks the C# build (see https://github.com/real-logic/simple-binary-encoding/runs/4171818266?check_suite_focus=true):

Error: SinceDeprecatedTests.cs(72,49): error CS0103: The name 'SinceDeprecated' does not exist in the current context [/home/runner/work/simple-binary-encoding/simple-binary-encoding/csharp/sbe-tests/sbe-tests.csproj]
Error: SinceDeprecatedTests.cs(73,49): error CS0103: The name 'SinceDeprecated' does not exist in the current context [/home/runner/work/simple-binary-encoding/simple-binary-encoding/csharp/sbe-tests/sbe-tests.csproj]
    0 Warning(s)
    42 Error(s)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I see, sorry. Then I create a separate XML for this.

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

Successfully merging this pull request may close these issues.

3 participants