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

Rule S6424: Azure Functions - Entity interfaces restrictions #5600

Closed
andrei-epure-sonarsource opened this issue Apr 25, 2022 · 0 comments · Fixed by #5681
Closed

Rule S6424: Azure Functions - Entity interfaces restrictions #5600

andrei-epure-sonarsource opened this issue Apr 25, 2022 · 0 comments · Fixed by #5681
Assignees
Labels
Area: C# C# rules related issues.
Milestone

Comments

@andrei-epure-sonarsource
Copy link
Contributor

andrei-epure-sonarsource commented Apr 25, 2022

MMF: https://jira.sonarsource.com/browse/MMF-2699
RSPEC PR to be merged after implementing this ticket: SonarSource/rspec#964

Possibility A

  • During compilation capture info about
    • all interfaces that do not respect the restrictions.
    • all interfaces that are passed to SignalEntity<IInterfaceType>, SignalEntityAsync<IInterfaceType>, or CreateEntityProxy throughout the program (which are entity interfaces).
  • At the compilation end, raise on the entity interfaces that do not respect the restrictions.

Posibility B

  • During the compilation, capture info about all interfaces that are passed to SignalEntity<IInterfaceType>, SignalEntityAsync<IInterfaceType>, or CreateEntityProxy throughout the program (which are entity interfaces).
  • At compilation end, verify using the symbol if the declaration respects the restrictions and raise an issue on the interface declarations that are non compliant.
@github-actions github-actions bot added this to New Feature in Backlog Apr 25, 2022
@pavel-mikula-sonarsource pavel-mikula-sonarsource added this to the 8.40 milestone May 9, 2022
@github-actions github-actions bot added this to To do in Best Kanban May 9, 2022
@pavel-mikula-sonarsource pavel-mikula-sonarsource moved this from To do to In progress in Best Kanban May 30, 2022
@costin-zaharia-sonarsource costin-zaharia-sonarsource modified the milestones: 8.40, 8.41 May 31, 2022
@github-actions github-actions bot moved this from In progress to Review in progress in Best Kanban May 31, 2022
@martin-strecker-sonarsource martin-strecker-sonarsource moved this from Review in progress to In progress in Best Kanban Jun 1, 2022
@github-actions github-actions bot moved this from In progress to Review in progress in Best Kanban Jun 2, 2022
@github-actions github-actions bot moved this from Review in progress to In progress in Best Kanban Jun 2, 2022
@github-actions github-actions bot moved this from In progress to Review in progress in Best Kanban Jun 3, 2022
@github-actions github-actions bot moved this from Review in progress to In progress in Best Kanban Jun 3, 2022
@pavel-mikula-sonarsource pavel-mikula-sonarsource moved this from In progress to Review in progress in Best Kanban Jun 3, 2022
@pavel-mikula-sonarsource pavel-mikula-sonarsource removed their assignment Jun 3, 2022
@martin-strecker-sonarsource martin-strecker-sonarsource moved this from Review in progress to In progress in Best Kanban Jun 3, 2022
@pavel-mikula-sonarsource pavel-mikula-sonarsource moved this from In progress to Review approved in Best Kanban Jun 3, 2022
Backlog automation moved this from New Feature to Done Jun 3, 2022
Best Kanban automation moved this from Review approved to Validate Peach Jun 3, 2022
@pavel-mikula-sonarsource pavel-mikula-sonarsource moved this from Validate Peach to Done in Best Kanban Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: C# C# rules related issues.
Projects
Best Kanban
  
Done
Backlog
  
Done
Development

Successfully merging a pull request may close this issue.

4 participants