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
In ResourceReference.matches() and someotherplaces, we assume that ResourceReferences are fragment identifiers. However they can also be absolute or relatives URIs. In those latter cases we fail to properly compare them.
Can we provide generic utilities that can solve these problems? I'm worried that we won't always be able to compare.
The current case I'm struggling with is a response for Person Matches from the FamilySearch API. The response is essentially a list of GEDCOM X documents with some metadata in the Atom format. Relationship resource references have absolute URIs even though the persons being pointed to are in the document (yet relationships from other endpoints use fragments identifiers). I can create an FS custom solution for comparing absolute person URIs to person IDs or just use the resourceId property but neither of those will necessarily work for GEDCOM X data from other sources.
The text was updated successfully, but these errors were encountered:
In
ResourceReference.matches()
and some other places, we assume that ResourceReferences are fragment identifiers. However they can also be absolute or relatives URIs. In those latter cases we fail to properly compare them.Can we provide generic utilities that can solve these problems? I'm worried that we won't always be able to compare.
The current case I'm struggling with is a response for Person Matches from the FamilySearch API. The response is essentially a list of GEDCOM X documents with some metadata in the Atom format. Relationship resource references have absolute URIs even though the persons being pointed to are in the document (yet relationships from other endpoints use fragments identifiers). I can create an FS custom solution for comparing absolute person URIs to person IDs or just use the resourceId property but neither of those will necessarily work for GEDCOM X data from other sources.
The text was updated successfully, but these errors were encountered: