Hey all! First of all, thanks for all the effort p...
# singer-tap-development
d
Hey all! First of all, thanks for all the effort put into the singer sdk, it's a joy to work with! I'm currently developing a tap connecting to an API endpoint that returns records in which the most appropriate replication key ("datetime") is found nested inside another property, like so:
Copy code
{
  "type": "event",
  "id": "string",
  "attributes": {
    "metric": "string",
    "description": "string",
    "timestamp": "string",
    "properties": {},
    "datetime": "string"
  },
  "title": "string",
  "meta": {}
}
I'm not sure how to best get at the "datetime" property inside "attributes". Glancing over the methods inside the sdk it looks like replication keys can only be a top-level property (and maybe the singer spec explicitly states that too?). This is the structure I'm dealt with though so if anybody has any ideas, I'm all ears! 😅 Thanks!