Skip to content

Commit

Permalink
Updated comment on error condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanMarr committed May 22, 2024
1 parent 30631d8 commit 372f102
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/SqlHydra.Query/SelectBuilders.fs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ type SelectBuilder<'Selected, 'Mapped> () =
// |> Array.map (fun p -> $"%s{tableAlias}.%s{p.Name}")
//q.Select(props)

// Bug fix: temporarily revert to * until option types are property implemented.
// Bug fix: temporarily revert to * until option types are properly implemented.
// `tableType` was not properly unwrapping option types, causing a runtime error.
// For example, left joining a table creates an option type, which should be unwrapped.
q.Select($"%s{tableAlias}.*")

| LinqExpressionVisitors.SelectedColumn (tableAlias, column) ->
Expand Down

0 comments on commit 372f102

Please sign in to comment.