mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-24 13:48:45 +00:00
docs: fixed some typos, formatting, grammar (#11540)
# Which Problems Are Solved - Typos - Punctuation - Markdown table formatting - ... (A bunch of issues my editor gave) # How the Problems Are Solved # Additional Changes # Additional Context
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package repository
|
||||
|
||||
//Asset represents all information about a asset (img)
|
||||
// Asset represents all information about an asset (img)
|
||||
type Asset struct {
|
||||
// ID is to refer to the asset
|
||||
ID string
|
||||
|
||||
@@ -48,13 +48,13 @@ type Event struct {
|
||||
// it's used in read models to reduce the events in the correct definition
|
||||
Version eventstore.Version
|
||||
// AggregateID id is the unique identifier of the aggregate
|
||||
// the client must generate it by it's own
|
||||
// the client must generate it on its own
|
||||
AggregateID string
|
||||
// AggregateType describes the meaning of the aggregate for this event
|
||||
// it could an object like user
|
||||
AggregateType eventstore.AggregateType
|
||||
// ResourceOwner is the organisation which owns this aggregate
|
||||
// an aggregate can only be managed by one organisation
|
||||
// ResourceOwner is the organization which owns this aggregate
|
||||
// an aggregate can only be managed by one organization
|
||||
// use the ID of the org
|
||||
ResourceOwner sql.NullString
|
||||
// InstanceID is the instance where this event belongs to
|
||||
|
||||
@@ -101,7 +101,7 @@ func query(ctx context.Context, criteria querier, searchQuery *eventstore.Search
|
||||
q.Desc = true
|
||||
}
|
||||
|
||||
// if there is only one subquery we can optimize the query ordering by ordering by sequence
|
||||
// if there is only one subquery we can optimize the query ordering by sequence
|
||||
var shouldOrderBySequence bool
|
||||
if len(q.SubQueries) == 1 {
|
||||
for _, filter := range q.SubQueries[0] {
|
||||
|
||||
Reference in New Issue
Block a user