var client = new HypermediaClient(new Uri(args[0]), new HalSerializer());
var query = client.CreateQuery().WithUrl(args[1]);
var result = client.ExecuteQueryAsync(query).Result; // ArgumentNullException will be thrown
Please review whether we need code changes or not.
As the
representor(HypermediaRepresentation) inHypermediaQuery.ExecuteAsyncis set null before looping throughSteps,ArgumentNullExceptionwill be thrown whenNavigateToRelativeUrlQueryStepis included in firstSteps,https://github.com/edandersen/Edsoft.Hypermedia/blob/develop/src/Edsoft.Hypermedia.Client/HypermediaQuery.cs#L33-L39
Please review whether we need code changes or not.