chore(settings)!: make reader bindings IEnumerable to allow for simpl… #476
Annotations
10 errors and 11 warnings
test/LEGO.AsyncAPI.Tests/Models/AsyncApiMessage_Should.cs#L396
The type 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' cannot be used as type parameter 'TCollection' in the generic type or method 'BindingsCollection.Add<TCollection, TItem>(TCollection, IEnumerable<TItem>)'. There is no implicit reference conversion from 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' to 'System.Collections.Generic.ICollection<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>'.
|
test/LEGO.AsyncAPI.Tests/Bindings/WebSockets/WebSocketBindings_Should.cs#L47
The type 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' cannot be used as type parameter 'TCollection' in the generic type or method 'BindingsCollection.Add<TCollection, TItem>(TCollection, IEnumerable<TItem>)'. There is no implicit reference conversion from 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' to 'System.Collections.Generic.ICollection<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>'.
|
test/LEGO.AsyncAPI.Tests/Bindings/Http/HttpBindings_Should.cs#L39
The type 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' cannot be used as type parameter 'TCollection' in the generic type or method 'BindingsCollection.Add<TCollection, TItem>(TCollection, IEnumerable<TItem>)'. There is no implicit reference conversion from 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' to 'System.Collections.Generic.ICollection<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>'.
|
test/LEGO.AsyncAPI.Tests/Bindings/Kafka/KafkaBindings_Should.cs#L58
The type 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' cannot be used as type parameter 'TCollection' in the generic type or method 'BindingsCollection.Add<TCollection, TItem>(TCollection, IEnumerable<TItem>)'. There is no implicit reference conversion from 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' to 'System.Collections.Generic.ICollection<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>'.
|
test/LEGO.AsyncAPI.Tests/Bindings/Pulsar/PulsarBindings_Should.cs#L64
The type 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' cannot be used as type parameter 'TCollection' in the generic type or method 'BindingsCollection.Add<TCollection, TItem>(TCollection, IEnumerable<TItem>)'. There is no implicit reference conversion from 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' to 'System.Collections.Generic.ICollection<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>'.
|
test/LEGO.AsyncAPI.Tests/Bindings/Pulsar/PulsarBindings_Should.cs#L83
The type 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' cannot be used as type parameter 'TCollection' in the generic type or method 'BindingsCollection.Add<TCollection, TItem>(TCollection, IEnumerable<TItem>)'. There is no implicit reference conversion from 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' to 'System.Collections.Generic.ICollection<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>'.
|
test/LEGO.AsyncAPI.Tests/Bindings/Http/HttpBindings_Should.cs#L76
The type 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' cannot be used as type parameter 'TCollection' in the generic type or method 'BindingsCollection.Add<TCollection, TItem>(TCollection, IEnumerable<TItem>)'. There is no implicit reference conversion from 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' to 'System.Collections.Generic.ICollection<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>'.
|
test/LEGO.AsyncAPI.Tests/Bindings/Pulsar/PulsarBindings_Should.cs#L102
The type 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' cannot be used as type parameter 'TCollection' in the generic type or method 'BindingsCollection.Add<TCollection, TItem>(TCollection, IEnumerable<TItem>)'. There is no implicit reference conversion from 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' to 'System.Collections.Generic.ICollection<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>'.
|
test/LEGO.AsyncAPI.Tests/Bindings/Pulsar/PulsarBindings_Should.cs#L142
The type 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' cannot be used as type parameter 'TCollection' in the generic type or method 'BindingsCollection.Add<TCollection, TItem>(TCollection, IEnumerable<TItem>)'. There is no implicit reference conversion from 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' to 'System.Collections.Generic.ICollection<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>'.
|
test/LEGO.AsyncAPI.Tests/Bindings/Pulsar/PulsarBindings_Should.cs#L178
The type 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' cannot be used as type parameter 'TCollection' in the generic type or method 'BindingsCollection.Add<TCollection, TItem>(TCollection, IEnumerable<TItem>)'. There is no implicit reference conversion from 'System.Collections.Generic.IEnumerable<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>' to 'System.Collections.Generic.ICollection<LEGO.AsyncAPI.Readers.Interface.IBindingParser<LEGO.AsyncAPI.Models.Interfaces.IBinding>>'.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
src/LEGO.AsyncAPI/Models/AsyncApiDocument.cs#L9
Using directives should be ordered alphabetically by the namespaces. (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1210.md)
|
src/LEGO.AsyncAPI/Expressions/RuntimeExpressions.cs#L11
File name should match first type name. (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1649.md)
|
src/LEGO.AsyncAPI/Writers/AsyncApiWriterException.cs#L6
Using directive for 'System' should appear before directive for 'LEGO.AsyncAPI.Exceptions' (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1208.md)
|
src/LEGO.AsyncAPI/Models/AsyncApiReference.cs#L67
Single-line comments should not be followed by blank line (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1512.md)
|
src/LEGO.AsyncAPI/Models/AsyncApiReference.cs#L64
Single line comment should begin with a space. (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1005.md)
|
src/LEGO.AsyncAPI/Models/AsyncApiReference.cs#L65
Single line comment should begin with a space. (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1005.md)
|
src/LEGO.AsyncAPI/Models/AsyncApiReference.cs#L67
Single line comment should begin with a space. (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1005.md)
|
|
src/LEGO.AsyncAPI/Validation/IValidationContext.cs#L36
A property should not follow a method (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1201.md)
|
src/LEGO.AsyncAPI/Services/AsyncApiVisitorBase.cs#L43
A property should not follow a method (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1201.md)
|
The logs for this run have expired and are no longer available.
Loading