Skip to main content
Glama
07-node_weight-no-discriminant-specified-fail.rs674 B
use dal::workspace_snapshot::{ edge_weight::EdgeWeightKindDiscriminants, node_weight::{ traits::{CorrectExclusiveOutgoingEdge, CorrectTransforms, SiNodeWeight}, NodeWeightDiscriminants, }, }; use si_events::{merkle_tree_hash::MerkleTreeHash, ulid::Ulid, ContentHash}; #[derive(dal_macros::SiNodeWeight)] #[si_node_weight] pub struct TestingNodeWeight { id: Ulid, lineage_id: Ulid, merkle_tree_hash: MerkleTreeHash, } impl CorrectTransforms for TestingNodeWeight {} impl CorrectExclusiveOutgoingEdge for TestingNodeWeight { fn exclusive_outgoing_edges(&self) -> &[EdgeWeightKindDiscriminants] { &[] } } fn main() {}

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/systeminit/si'

If you have feedback or need assistance with the MCP directory API, please join our Discord server