• Joey

    Joey

    5 months ago
    v0 had the ability to create individual definitions, but we found it actually made things harder to understand
  • Joey

    Joey

    5 months ago
    long term, we plan to have a more well-defined migration system for schemas
  • tnarg

    tnarg

    5 months ago
    I feel like both are valuable. The DSL is great for getting started, examples, and small deployments, but in a large organization, the fine-grained API would be very valuable
  • Joey

    Joey

    5 months ago
    part of the problem with a more fine grained API is that it makes optimizing and checking harder
  • tnarg

    tnarg

    5 months ago
    as in, there is a runtime performance penalty for CheckPermission calls?
  • Joey

    Joey

    5 months ago
    every time the schema is updated, we need to validate it
  • Joey

    Joey

    5 months ago
    when we have the whole schema, it can be validated against itself
  • Joey

    Joey

    5 months ago
    if you're updating, say, a single relation, then we'd have to load everything else
  • Joey

    Joey

    5 months ago
    so there is a performance penalty for the update
  • Joey

    Joey

    5 months ago
    its minor, but it is a consideration