Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions compiler/crates/relay-typegen/src/rescript.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1618,12 +1618,12 @@ fn write_get_connection_nodes_function(
{
match find_object_with_record_name(&edges_obj_type_name, state) {
None => {
warn!("Could not find edges object.")
warn!("Could not find edges object from connection: {}", connection_field_name)
}
Some(edges_object) => {
// Find the node
match find_prop_at_key(&edges_object, &String::from("node")) {
None => warn!("Could not find node"),
None => warn!("Could not find node from connection {}", connection_field_name),
Some(prop_value) => {
let (node_nullable, node_type_name) =
match &prop_value.prop_type.as_ref() {
Expand Down