Skip to content

Commit

Permalink
make context untyped
Browse files Browse the repository at this point in the history
  • Loading branch information
MatejLach committed Sep 15, 2024
1 parent 5f8fe29 commit 2169338
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion asvocab_base_types.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package astreams

import (
"encoding/json"
"sort"
"time"
)
Expand Down Expand Up @@ -55,7 +56,7 @@ type EndpointsOrString struct {
// Object represents the base ActivityStreams Object and all of its properties
// Most of the other types extend Object
type Object struct {
ASContext *ObjectOrLinkOrString `json:"@context,omitempty"`
ASContext json.RawMessage `json:"@context,omitempty"`
ASLanguage string `json:"@language,omitempty"`
Schema string `json:"schema,omitempty"`
ID string `json:"id,omitempty"`
Expand Down

0 comments on commit 2169338

Please sign in to comment.