Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce PgRegistry; codecs own relations; type overhaul #260

Merged
merged 192 commits into from
Apr 4, 2023

Commits on Mar 22, 2023

  1. Configuration menu
    Copy the full SHA
    a6b60e9 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2023

  1. Configuration menu
    Copy the full SHA
    c16f618 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    542b01f View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2023

  1. Remove unused interface

    benjie committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    c16534e View commit details
    Browse the repository at this point in the history
  2. Add name to source generics

    benjie committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    d5f15a7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fc29a46 View commit details
    Browse the repository at this point in the history
  4. Progress?

    benjie committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    5bb8633 View commit details
    Browse the repository at this point in the history
  5. Simplify

    benjie committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    a31e12e View commit details
    Browse the repository at this point in the history
  6. Remove stuff

    benjie committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    559113d View commit details
    Browse the repository at this point in the history
  7. Basic validation of approach

    benjie committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    8db1d81 View commit details
    Browse the repository at this point in the history
  8. Comment

    benjie committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    f99b400 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2023

  1. Configuration menu
    Copy the full SHA
    e3e53e7 View commit details
    Browse the repository at this point in the history
  2. enumCodec needs generic name

    benjie committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    b91b70e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cc4504c View commit details
    Browse the repository at this point in the history
  4. Back to one builder flow

    benjie committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    1f148d6 View commit details
    Browse the repository at this point in the history
  5. Nicer types

    benjie committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    8c1addf View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a31fd60 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2023

  1. Fix TypeScript expansion

    benjie committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    4fae377 View commit details
    Browse the repository at this point in the history
  2. Tmp

    benjie committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    d8b2564 View commit details
    Browse the repository at this point in the history
  3. TypeScript fix

    benjie committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    273c6c1 View commit details
    Browse the repository at this point in the history
  4. Update example script

    benjie committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    8422d2f View commit details
    Browse the repository at this point in the history
  5. WIP

    benjie committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    e1296a9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2b3ba35 View commit details
    Browse the repository at this point in the history
  7. Moar work

    benjie committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    83f19a0 View commit details
    Browse the repository at this point in the history
  8. Watch me WIP

    benjie committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    69876df View commit details
    Browse the repository at this point in the history
  9. WIIIIIIIIP

    benjie committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    1c45b1d View commit details
    Browse the repository at this point in the history
  10. 1 error left...

    benjie committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    1ad66c2 View commit details
    Browse the repository at this point in the history
  11. Fix final TS errors

    benjie committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    cf13333 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2023

  1. Update references

    benjie committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    3062791 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e8d097a View commit details
    Browse the repository at this point in the history
  3. Fix graphile-utils

    benjie committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    6c8c720 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    52f1ea4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a24ce91 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b170733 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3a9e2dd View commit details
    Browse the repository at this point in the history
  8. Fix some logic around refs

    benjie committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    6c26c4d View commit details
    Browse the repository at this point in the history
  9. Update mermaid (why?)

    benjie committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    ff8dd49 View commit details
    Browse the repository at this point in the history
  10. Use null prototype

    benjie committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    037a4a8 View commit details
    Browse the repository at this point in the history
  11. simpleCollections: both

    benjie committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    1157510 View commit details
    Browse the repository at this point in the history
  12. Overhaul pgProcedures hooks

    benjie committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    5ef6443 View commit details
    Browse the repository at this point in the history
  13. Schema reordered

    benjie committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    ca580db View commit details
    Browse the repository at this point in the history
  14. Lint fixes

    benjie committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    638c2be View commit details
    Browse the repository at this point in the history
  15. Update babel generator

    benjie committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    b7437f4 View commit details
    Browse the repository at this point in the history
  16. Freshen yarn.lock

    benjie committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    bf7fc5a View commit details
    Browse the repository at this point in the history
  17. Manually dedupe estree

    benjie committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    0ccc680 View commit details
    Browse the repository at this point in the history
  18. Add type assertion

    benjie committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    2056b44 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    502f26f View commit details
    Browse the repository at this point in the history
  20. Fix all the exportAs's

    benjie committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    d4d89a8 View commit details
    Browse the repository at this point in the history
  21. Fix exporting

    benjie committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    3a449e0 View commit details
    Browse the repository at this point in the history
  22. Fix more exports

    benjie committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    e443b8e View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    e61019e View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    bd056db View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    5213aef View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    e6b358c View commit details
    Browse the repository at this point in the history
  27. Superuser can do anything

    benjie committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    a8ca161 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    a731237 View commit details
    Browse the repository at this point in the history
  29. Lint

    benjie committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    51ff738 View commit details
    Browse the repository at this point in the history
  30. Export each individual codec

    benjie committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    1f2627b View commit details
    Browse the repository at this point in the history
  31. More helpful error

    benjie committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    715b2bc View commit details
    Browse the repository at this point in the history
  32. Fix codec exporting

    benjie committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    9f49337 View commit details
    Browse the repository at this point in the history
  33. Simplified queries

    benjie committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    1755d5c View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    14c3e2b View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    e8056f0 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    d425b34 View commit details
    Browse the repository at this point in the history
  37. Lint

    benjie committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    969957d View commit details
    Browse the repository at this point in the history
  38. More exportable things

    benjie committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    cf0090f View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2023

  1. PgSource -> PgResource

    benjie committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    03cff3e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    930576d View commit details
    Browse the repository at this point in the history
  3. Reorder PgResource generics

    benjie committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    77d3309 View commit details
    Browse the repository at this point in the history
  4. Formatting

    benjie committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    9ca17e9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    12539da View commit details
    Browse the repository at this point in the history
  6. PgTypeCodec -> PgCodec

    benjie committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    ef08c24 View commit details
    Browse the repository at this point in the history
  7. Lint

    benjie committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    6785c42 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4f056c8 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6478144 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    398c59d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7e4107e View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    6d60240 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    ad22d9a View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    85918aa View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    81abc67 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    343e9ec View commit details
    Browse the repository at this point in the history
  17. Tweak

    benjie committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    da9329d View commit details
    Browse the repository at this point in the history
  18. This isn't actually used

    benjie committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    98726af View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    3954100 View commit details
    Browse the repository at this point in the history
  20. sourceEvents isn't even used

    benjie committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    c4e12c1 View commit details
    Browse the repository at this point in the history
  21. Fix some comments

    benjie committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    fe96918 View commit details
    Browse the repository at this point in the history
  22. finalSource -> finalResource

    benjie committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    117ba50 View commit details
    Browse the repository at this point in the history
  23. More source->resource

    benjie committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    73c226e View commit details
    Browse the repository at this point in the history
  24. dataSource -> resource

    benjie committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    8b879a1 View commit details
    Browse the repository at this point in the history
  25. Lint fixes

    benjie committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    8feab4c View commit details
    Browse the repository at this point in the history
  26. pgTypeSource->pgTypeResource

    benjie committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    8110236 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    8675d36 View commit details
    Browse the repository at this point in the history
  28. Rename more source -> resource

    benjie committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    97160f5 View commit details
    Browse the repository at this point in the history
  29. Yet more source->resource

    benjie committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    3d8d4f4 View commit details
    Browse the repository at this point in the history
  30. Lint fixes

    benjie committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    3854d5f View commit details
    Browse the repository at this point in the history
  31. Yet more source->resource

    benjie committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    a004142 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    df7e8cd View commit details
    Browse the repository at this point in the history
  33. Lint

    benjie committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    3d2356a View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2023

  1. Configuration menu
    Copy the full SHA
    cdc39ba View commit details
    Browse the repository at this point in the history
  2. PgEnumTypeCodec -> PgEnumCodec

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    5900f44 View commit details
    Browse the repository at this point in the history
  3. Lint

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    216a406 View commit details
    Browse the repository at this point in the history
  4. More PgCodecAny updates

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    c111971 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c40b06b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c8a10c4 View commit details
    Browse the repository at this point in the history
  7. More accepting generic helpers

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    6233037 View commit details
    Browse the repository at this point in the history
  8. More useful PgResourceAny

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    0318b57 View commit details
    Browse the repository at this point in the history
  9. Tighten up a type

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    c07cad6 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    972dd8d View commit details
    Browse the repository at this point in the history
  11. Reorder generic

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    95e3feb View commit details
    Browse the repository at this point in the history
  12. Add back relation validation

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    7d22f19 View commit details
    Browse the repository at this point in the history
  13. Allow specifying naked PgCodec

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    76c84da View commit details
    Browse the repository at this point in the history
  14. No need for PgCodecAny anymore

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    e2ee7c9 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    dddc4f9 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    2cf6e3e View commit details
    Browse the repository at this point in the history
  17. Lint fixes

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    0c68c39 View commit details
    Browse the repository at this point in the history
  18. Export makeRegistry

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    576694b View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    8c8dae9 View commit details
    Browse the repository at this point in the history
  20. Remove unused code

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    d20961e View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    45feb81 View commit details
    Browse the repository at this point in the history
  22. Use type helpers to simplify

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    9400af7 View commit details
    Browse the repository at this point in the history
  23. Simplify more types

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    8bdeef0 View commit details
    Browse the repository at this point in the history
  24. More type helper usage

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    805c503 View commit details
    Browse the repository at this point in the history
  25. More simplification

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    d099108 View commit details
    Browse the repository at this point in the history
  26. Revert and simplify

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    62e9b4b View commit details
    Browse the repository at this point in the history
  27. Simplify types

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    3c873fa View commit details
    Browse the repository at this point in the history
  28. Simplify another type

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    3510ffa View commit details
    Browse the repository at this point in the history
  29. Formatting

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    f23bfb8 View commit details
    Browse the repository at this point in the history
  30. Simplify more types

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    c305474 View commit details
    Browse the repository at this point in the history
  31. Lint

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    a3b55be View commit details
    Browse the repository at this point in the history
  32. Simplification

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    c840d16 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    00fd2ed View commit details
    Browse the repository at this point in the history
  34. Simplify

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    6668632 View commit details
    Browse the repository at this point in the history
  35. Lint fix

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    836f491 View commit details
    Browse the repository at this point in the history
  36. Fix some generics

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    ae5b058 View commit details
    Browse the repository at this point in the history
  37. Simplify

    benjie committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    b646ed8 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2023

  1. Tidy

    benjie committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    e0b3bf6 View commit details
    Browse the repository at this point in the history
  2. Simplify

    benjie committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    8491f73 View commit details
    Browse the repository at this point in the history
  3. Simplicity and consistency

    benjie committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    a7c3299 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    08e8555 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cf31496 View commit details
    Browse the repository at this point in the history
  6. Tidying

    benjie committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    5161d24 View commit details
    Browse the repository at this point in the history
  7. Simplify

    benjie committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    fd321dc View commit details
    Browse the repository at this point in the history
  8. Simplify generics

    benjie committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    2175be2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5a4f662 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8f3911a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    2bde87b View commit details
    Browse the repository at this point in the history
  12. Remove pointless freeze

    benjie committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    985b0bc View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    92ed3c6 View commit details
    Browse the repository at this point in the history
  14. No realm

    benjie committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    a40d987 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    9bc1391 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    88b20d1 View commit details
    Browse the repository at this point in the history
  17. More codec column enforcement

    benjie committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    6fb1d3f View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    0210a44 View commit details
    Browse the repository at this point in the history
  19. Lint

    benjie committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    22db5ab View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    4d220ac View commit details
    Browse the repository at this point in the history
  21. More type simplification

    benjie committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    2f775a2 View commit details
    Browse the repository at this point in the history
  22. Correct type of enums

    benjie committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    2786ac6 View commit details
    Browse the repository at this point in the history
  23. Lint for more exportables

    benjie committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    a7f1db9 View commit details
    Browse the repository at this point in the history
  24. Fix outdated name

    benjie committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    8f57d61 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    38a9350 View commit details
    Browse the repository at this point in the history
  26. Lint fixes

    benjie committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    95eabbc View commit details
    Browse the repository at this point in the history
  27. Remove unused imports

    benjie committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    e14173d View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    8221274 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    10d0c33 View commit details
    Browse the repository at this point in the history
  30. Remove more redundant <any>s

    benjie committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    80c70c9 View commit details
    Browse the repository at this point in the history
  31. More precise type

    benjie committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    5e1f63b View commit details
    Browse the repository at this point in the history
  32. Remove more redundant <any>s

    benjie committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    2e0788b View commit details
    Browse the repository at this point in the history
  33. More type fixes

    benjie committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    0a03096 View commit details
    Browse the repository at this point in the history
  34. Fix another codec generic

    benjie committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    e664168 View commit details
    Browse the repository at this point in the history
  35. Lint

    benjie committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    a1ae185 View commit details
    Browse the repository at this point in the history
  36. Remove more redundant <any>s

    benjie committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    062f364 View commit details
    Browse the repository at this point in the history
  37. Simplify more generics

    benjie committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    4a2fb3b View commit details
    Browse the repository at this point in the history
  38. Lint

    benjie committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    ef07282 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2023

  1. Tweak generics

    benjie committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    bd400f1 View commit details
    Browse the repository at this point in the history
  2. Simplify generics further

    benjie committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    c7e8657 View commit details
    Browse the repository at this point in the history
  3. Simplify more generics

    benjie committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    7415333 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4c7fe95 View commit details
    Browse the repository at this point in the history
  5. Get rid of PgResourceAny

    benjie committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    f811fa3 View commit details
    Browse the repository at this point in the history
  6. Get rid of PgRegistryAny

    benjie committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    e6e4d81 View commit details
    Browse the repository at this point in the history
  7. Remove more <any>s

    benjie committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    cccd6c3 View commit details
    Browse the repository at this point in the history
  8. More tidying of generics

    benjie committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    5524a93 View commit details
    Browse the repository at this point in the history
  9. Type fixes

    benjie committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    f76fea4 View commit details
    Browse the repository at this point in the history
  10. More type fixes

    benjie committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    0a89b2e View commit details
    Browse the repository at this point in the history
  11. Fix more generics

    benjie committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    3f5cded View commit details
    Browse the repository at this point in the history
  12. Remove more <any>s

    benjie committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    5a63bae View commit details
    Browse the repository at this point in the history
  13. Remove unnecessary casting

    benjie committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    596ed33 View commit details
    Browse the repository at this point in the history
  14. Fix docs

    benjie committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    7eae47f View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    d5312e6 View commit details
    Browse the repository at this point in the history
  16. docs(changeset): PgSource has been renamed to PgResource, `PgType…

    …Codec` to `PgCodec`,
    
    `PgEnumTypeCodec` to `PgEnumCodec`, `PgTypeColumn` to `PgCodecAttribute` (and
    similar for related types/interfaces). `source` has been replaced by `resource`
    in various of the APIs where it relates to a `PgResource`.
    
    `PgSourceBuilder` is no more, instead being replaced with `PgResourceOptions`
    and being built into the final `PgResource` via the new
    `makeRegistryBuilder`/`makeRegistry` functions.
    
    `build.input` no longer contains the `pgSources` directly, instead
    `build.input.pgRegistry.pgResources` should be used.
    
    The new registry system also means that various of the hooks in the gather
    phase have been renamed/replaced, there's a new `PgRegistryPlugin` plugin in
    the default preset. The only plugin that uses the `main` method in the `gather`
    phase is now `PgRegistryPlugin` - if you are using the `main` function for
    Postgres-related behaviors you should consider moving your logic to hooks
    instead.
    
    Plugin ordering has changed and thus the shape of the final schema is likely to
    change (please use `lexicographicSortSchema` on your before/after schemas when
    comparing).
    
    Relationships are now from a codec to a resource, rather than from resource to
    resource, so all the relationship inflectors (`singleRelation`,
    `singleRelationBackwards`, `_manyRelation`, `manyRelationConnection`,
    `manyRelationList`) now accept different parameters (`{registry, codec,
    relationName}` instead of `{source, relationaName}`).
    
    Significant type overhaul, most generic types no longer require generics to be
    explicitly passed in many circumstances. `PgSelectStep`, `PgSelectSingleStep`,
    `PgInsertStep`, `PgUpdateStep` and `PgDeleteStep` now all accept the resource
    as their single type parameter rather than accepting the 4 generics they did
    previously. `PgClassExpressionStep` now accepts just a codec and a resource as
    generics. `PgResource` and `PgCodec` have gained a new `TName extends string`
    generic at the very front that is used by the registry system to massively
    improve continuity of the types through all the various APIs.
    
    Fixed various issues in schema exporting, and detect more potential
    issues/oversights automatically.
    
    Fixes an RBAC bug when using superuser role for introspection.
    benjie committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    96b0bd1 View commit details
    Browse the repository at this point in the history
  17. Remove unused type

    benjie committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    2e2f1f1 View commit details
    Browse the repository at this point in the history
  18. Lint

    benjie committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    9d9e01e View commit details
    Browse the repository at this point in the history