The Wayback Machine - https://web.archive.org/web/20200613082057/https://github.com/topics/crud
Skip to content
#

crud

Here are 3,278 public repositories matching this topic...

videni
videni commented Sep 29, 2019

what is prefer way to add relation and remove relation? I found example as below, but I did't find any document about the two methods.

 case 'ADD_AUTHOR_TO_BOOK':
        Book.withId(action.payload.bookId).authors.add(action.payload.author);  // add new entity ,  add relation?  this doesn't work.
        break;
    case 'REMOVE_AUTHOR_FROM_BOOK':
        Book.withId(action.payload.bo
jtoberling
jtoberling commented Aug 28, 2019

As of first congrats for this package - I'm using it quite often & it's a great help.

I'd like to ask a feature request - add support for MSSQL DB.
The main official mode of connection recommended by MS is ODBC/PDO.
[https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-2017#microsoft-odbc-driver-17-for-sql-server](ht

piraz
piraz commented Feb 8, 2020

It would be great to have documented the babel configuration to use the transform-class-properties plugin on Can 6 documentation to export classes with static properties using steal.

If we don't use the configuration an error like this will be displayed when I execute steal-tools export:

{ SyntaxError: unknown: Missing class properties transform.
   5 | 
   6 | export default class Fa
mdcass
mdcass commented Feb 5, 2020

Describe the bug
I have a Link which heads to a Controller independent of the dashboard functionality which return redirect()->back() - the route of the link is visited and changes in the browser, however the URL is not then updated after the redirect back.

// Link
Link::make('Refresh Access Token')
   ->icon('icon-refresh')
   ->route('bank-connections.refresh-access-token'
crud
lafeuil
lafeuil commented Mar 13, 2020

I have this model

class User {
  name: string;
  friends: User[];
}

And I have created a crud controller to manage and get user without friends property.
To get friends of a user, I have added an "adding route" :

  @Get(':id/friends')
  @UseInterceptors(CrudRequestInterceptor)
  async getFriends(@ParsedRequest() req: CrudRequest) {
    return this.
JKHeadley
JKHeadley commented Jul 21, 2018

See: https://gist.github.com/ericelliott/f3c2a53a1d4100539f71

Advantages

See: https://medium.com/javascript-scene/you-might-not-need-typescript-or-static-types-aa7cb670a77b

  • autocomplete and type inference with most IDEs
  • doesn't require passing Log objects for every call (although it's encouraged)
  • other non-required parameters (such as query) can be omitted
  • much easier to a
simbo1905
simbo1905 commented May 7, 2018

If I look in config\cors.php it has a line:

'allowedOrigins' => env('CORS_ALLOWED_ORIGINS') ? explode(',', env('CORS_ALLOWED_ORIGINS')) : ['*'],

I was unable to get anything working until I had set an environment variable CORS_ALLOWED_ORIGINS to match the domain name where the frontend is. When I set that env var to be a string that matched the ORIGIN domain name then things worke

Letoile
Letoile commented Aug 8, 2017

Версия в композере

"4.*@dev"

Что надо сделать что бы увидеть ошибку?

  1. Для секций добавить возможность в случае указания ссылок с параметрами (/admin/some_section/:param1/:param2 и т.п.) настроить фильтр по указанным параметрам
  2. При добавлении таких ссылок в навигацию - корректно выделять активную
  3. Корректно отображать хлебные крошки

An intelligent code generator for Laravel framework that will save you time! This awesome tool will help you generate resources like views, controllers, routes, migrations, languages and/or form-requests! It is extremely flexible and customizable to cover many on the use cases. It is shipped with cross-browsers compatible template, along with a client-side validation to modernize your application.

  • Updated May 30, 2020
  • PHP

Improve this page

Add a description, image, and links to the crud topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the crud topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.