Commit Graph

23 Commits (96e842decfcaf5b677dfff5dbc1bb284b33ad948)

Author SHA1 Message Date
noah metz 147f44e5ff hehe 2023-08-01 20:55:15 -06:00
noah metz fad8d8123c Did most of the work to move node interface creation to GQLExtContext 2023-07-29 18:27:52 -06:00
noah metz 891e69c775 Added more sane methods to register GQL fields, need to do the same for itnerfaces and their defaults 2023-07-29 17:23:25 -06:00
noah metz 1a3a07336a Added back GQL functionality, TODO pool channels for resolve executions instead of creating new ones and GCing them every time 2023-07-29 16:00:01 -06:00
noah metz 2dfa10b1f6 Renamed GQL functions to remove GQL 2023-07-29 11:03:41 -06:00
noah metz 3ad969a5ca Switched from thread being the callback engine to node being the callback engine 2023-07-27 15:27:14 -06:00
noah metz 544264f06b Cleaned up gql_test by putting the listener extension on gql 2023-07-27 12:03:39 -06:00
noah metz 186123ce01 Added SimpleListenerNode to test suite 2023-07-27 00:30:24 -06:00
noah metz 494d212051 Simplified gql node/interface creation with helper functions 2023-07-26 23:57:50 -06:00
noah metz 34082630b2 Added default schema back without crashing 2023-07-26 20:26:41 -06:00
noah metz d2f3daf5a6 Changed NewNode to return a pointer and add the node to the context 2023-07-26 15:08:14 -06:00
noah metz f1c0f1e7de Added gql to the rework 2023-07-26 00:18:11 -06:00
noah metz b3f6ea67c9 Added Group node 2023-07-25 09:51:55 -06:00
noah metz a72124e659 Added NodeWithUsers interface to encompass any nodes that have a Users map 2023-07-25 00:27:39 -06:00
noah metz fc2e36043f Tests compile and run 2023-07-24 16:04:56 -06:00
noah metz e347a3f232 start maniacal rewrite, main goal is to combine node and lockable to remove any sync mutex deadlocks. Another goal is to make read contexts get copies of the state to ensure they don't modify and no lock is required to ensure no value changes, and write contexts use the lockable locks instead of mutex 2023-07-22 20:21:17 -06:00
noah metz 6d6effadec Removed types from context 2023-07-21 18:18:26 -06:00
noah metz e59b4f57fd fixed user TypeOf 2023-07-21 18:09:13 -06:00
noah metz e51e823b19 Fixed default thread fields 2023-07-21 18:07:49 -06:00
noah metz f09a1db2d4 Moved common graphql fields to functions instead of redefining every definition 2023-07-21 18:06:53 -06:00
noah metz 3b35885c90 Fix 2023-07-21 17:50:43 -06:00
noah metz d4fcd80ff8 Added Singleton and Field to simplify GQL definitions 2023-07-21 17:49:19 -06:00
noah metz 551370e541 Split gql_graph.go to gql_*.go 2023-07-21 15:16:35 -06:00