input_value_default_value(agooErr err, gqlDoc doc, gqlCobj obj, gqlField field, gqlSel sel, gqlValue result, int depth) {
    gqlArg	a = (gqlArg)obj->ptr;
    const char	*key = sel->name;
    gqlValue	dv = a->default_value;

    if (NULL != sel->alias) {
	key = sel->alias;
    }
    if (NULL == dv) {
	return gql_object_set(err, result, key, gql_null_create(err));
    }
    if (NULL == (dv = gql_value_dup(err, dv))) {
	return err->code;
    }
    if (AGOO_ERR_OK != gql_value_convert(err, dv, &gql_string_type)) {
	return err->code;
    }
    return gql_object_set(err, result, key, dv);
}
input_value_default_value(agooErr err, gqlDoc doc, gqlCobj obj, gqlField field, gqlSel sel, gqlValue result, int depth) {
    gqlArg	a = (gqlArg)obj->ptr;
    const char	*key = sel->name;
    gqlValue	dv = a->default_value;

    if (NULL != sel->alias) {
	key = sel->alias;
    }
    if (NULL == dv) {
	return gql_object_set(err, result, key, gql_null_create(err));
    }
    if (NULL == (dv = gql_value_dup(err, dv))) {
	return err->code;
    }
    if (AGOO_ERR_OK != gql_value_convert(err, dv, &gql_string_type)) {
	return err->code;
    }
    return gql_object_set(err, result, key, dv);
}