kgrzybek / modular-monolith-with-ddd

Full Modular Monolith application with Domain-Driven Design approach.
MIT License
10.82k stars 1.7k forks source link

Add missing $ in SQL string in GetAuthenticatedUserPermissionsQueryHandler #319

Closed jflaga closed 4 months ago

jflaga commented 4 months ago

@Tomperoz , there is string interpolation in there: {nameof(UserPermissionDto.Code)}

$""" 
SELECT [UserPermission].[PermissionCode] AS [{nameof(UserPermissionDto.Code)}]
...
"""
kgrzybek commented 4 months ago

Thanks @jflaga

I see that this query is not covered by integration test - this is the reason why regression occurred.