You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a One-to-One relationship not all columns are selected, only the primary key is selected
in supabase its a foreign-key attribute. So it should be.
To Reproduce
Column "Name" from Kategorie is not populating, bit Id and relation is there
var response = await _client.Postgrest.Table<TableA>().Get();
[Table("tableA")]
public class TableA: BaseModel
{
[PrimaryKey("Id")]
public Guid Id { get; set; }
public string Name { get; set; } = null!;
[Reference(typeof(Kategorie))]
public Kategorie? Kategorie { get; set; }
}
[Table("kategorie")]
public class Kategorie : BaseModel
{
[PrimaryKey("Id")]
public Guid Id { get; set; }
public string Name { get; set; }
}
Expected behavior
when you Get() it should be able to select all related columns
The text was updated successfully, but these errors were encountered:
Describe the bug
On a One-to-One relationship not all columns are selected, only the primary key is selected
in supabase its a foreign-key attribute. So it should be.
To Reproduce
Column "Name" from Kategorie is not populating, bit Id and relation is there
var response = await _client.Postgrest.Table<TableA>().Get();
Expected behavior
when you Get() it should be able to select all related columns
The text was updated successfully, but these errors were encountered: