Skip to content

How to deal with identifiers that are generated during run-time and isn't the result of a graph-service operation during testing (mocking)? #9

Answered by krgauraw
joffinjoy asked this question in Q&A
Discussion options

You must be logged in to vote

@joffinjoy In this case, When 1st call to update hierarchy flow ends, it returns a response having older_do_ids: new_do_ids for all the nodes which are passed under nodesModified section of the request. Please use that response to figure out newly generated section identifier and use it in further flow (e.g: mock returns, etc).
Hope this helps.
cc: @pallakartheekreddy

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@joffinjoy
Comment options

@krgauraw
Comment options

@joffinjoy
Comment options

@Krishnaj20
Comment options

@aks30
Comment options

Answer selected by joffinjoy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants