Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
jairad26 committed Jan 10, 2025
1 parent d18adf5 commit 392d287
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type User struct {
Gid uint64 `json:"gid,omitempty"`
Name string `json:"name,omitempty"`
Age int `json:"age,omitempty"`
ClerkId string `json:"clerk_id,omitempty" driver:"constraint=unique"`
ClerkId string `json:"clerk_id,omitempty" db:"constraint=unique"`
}

func TestFirstTimeUser(t *testing.T) {
Expand Down Expand Up @@ -416,14 +416,14 @@ func TestQueryApiWithPaginiationAndSorting(t *testing.T) {
type Project struct {
Gid uint64 `json:"gid,omitempty"`
Name string `json:"name,omitempty"`
ClerkId string `json:"clerk_id,omitempty" driver:"constraint=unique"`
ClerkId string `json:"clerk_id,omitempty" db:"constraint=unique"`
Branches []Branch `json:"branches,omitempty" readFrom:"type=Branch,field=proj"`
}

type Branch struct {
Gid uint64 `json:"gid,omitempty"`
Name string `json:"name,omitempty"`
ClerkId string `json:"clerk_id,omitempty" driver:"constraint=unique"`
ClerkId string `json:"clerk_id,omitempty" db:"constraint=unique"`
Proj Project `json:"proj,omitempty"`
}

Expand Down Expand Up @@ -755,7 +755,7 @@ type BadProject struct {
type BadBranch struct {
Gid uint64 `json:"gid,omitempty"`
Name string `json:"name,omitempty"`
ClerkId string `json:"clerk_id,omitempty" driver:"constraint=unique"`
ClerkId string `json:"clerk_id,omitempty" db:"constraint=unique"`
Proj BadProject `json:"proj,omitempty"`
}

Expand Down Expand Up @@ -797,7 +797,7 @@ func TestNestedObjectMutationWithBadType(t *testing.T) {
type Document struct {
Gid uint64 `json:"gid,omitempty"`
Text string `json:"text,omitempty"`
TextVec []float32 `json:"textVec,omitempty" driver:"constraint=vector"`
TextVec []float32 `json:"textVec,omitempty" db:"constraint=vector"`
}

func TestVectorIndexSearchTyped(t *testing.T) {
Expand Down

0 comments on commit 392d287

Please sign in to comment.