()
| 137 | * Note: validateProperties is set to false for backward compatibility with existing tests. |
| 138 | */ |
| 139 | export function createUserPostGraph(): Graph<CreateTestSchema> { |
| 140 | return new Graph({ |
| 141 | schema: createTestSchema, |
| 142 | storage: new InMemoryGraphStorage(), |
| 143 | validateProperties: false, |
| 144 | }); |
| 145 | } |
| 146 | |
| 147 | /** |
| 148 | * Flexible schema for testing write operations with arbitrary properties. |