Skip to content
Snippets Groups Projects

bugfix: Do not erase @context during serialisation when already defined...

Merged Ghost User requested to merge 153 into master

bugfix: Do not erase @context during serialisation when already defined (startinblox/djangoldp-packages/djangoldp#153)

when hitting /users/:user-id/,

before:

{
  "@id": "http://localhost:8000/users/chenry/",
   // ...
  "@type": "foaf:user",
  "@context": "https://cdn.happy-dev.fr/owl/hdcontext.jsonld",
  // ...
}

after:

{
  "@id": "http://localhost:8000/users/chenry/",
   // ...
  "@type": "foaf:user",
  "@context": {
    "get_full_name": "rdfs:label"
  },
  // ...
}

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading